PIbd-22_Bazunov_AI_Hotel/Hotel/HotelContracts/StoragesContracts/IGuestStorage.cs

15 lines
508 B
C#
Raw Normal View History

2023-04-06 18:26:46 +04:00
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);
}