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

15 lines
580 B
C#

using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.StoragesContracts;
public interface IReservationStorage
{
List<ReservationViewModel> GetFullList();
List<ReservationViewModel> GetFilteredList(ReservationSearchModel model);
ReservationViewModel? GetElement(ReservationSearchModel model);
ReservationViewModel? Insert(ReservationBindingModel model);
ReservationViewModel? Update(ReservationBindingModel model);
ReservationViewModel? Delete(ReservationBindingModel model);
}