PIbd-22_Bazunov_AI_Hotel/Hotel/HotelContracts/StoragesContracts/IGuestStorage.cs
2023-04-06 18:26:46 +04:00

15 lines
508 B
C#

using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.StoragesContracts;
public interface IGuestStorage
{
List<GuestViewModel> GetFullList();
List<GuestViewModel> GetFilteredList(GuestSearchModel model);
GuestViewModel? GetElement(GuestSearchModel model);
GuestViewModel? Insert(GuestBindingModel model);
GuestViewModel? Update(GuestBindingModel model);
GuestViewModel? Delete(GuestBindingModel model);
}