CourseWork_Hotel/Hotel/HotelContracts/StoragesContracts/IOrganiserStorage.cs
2023-04-01 19:42:24 +04:00

22 lines
600 B
C#

using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.StoragesContracts
{
public interface IOrganiserStorage
{
List<OrganiserViewModel> GetFullList();
List<OrganiserViewModel> GetFilteredList(OrganiserSearchModel model);
OrganiserViewModel? GetElement(OrganiserSearchModel model);
OrganiserViewModel? Insert(OrganiserBindingModel model);
OrganiserViewModel? Update(OrganiserBindingModel model);
OrganiserViewModel? Delete(OrganiserBindingModel model);
}
}