CourseWork_Hotel/Hotel/HotelContracts/StoragesContracts/IConferenceBookingStorage.cs

22 lines
696 B
C#

using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.StoragesContracts
{
public interface IConferenceBookingStorage
{
List<ConferenceBookingViewModel> GetFullList();
List<ConferenceBookingViewModel> GetFilteredList(ConferenceBookingSearchModel model);
ConferenceBookingViewModel? GetElement(ConferenceBookingSearchModel model);
ConferenceBookingViewModel? Insert(ConferenceBookingBindingModel model);
ConferenceBookingViewModel? Update(ConferenceBookingBindingModel model);
ConferenceBookingViewModel? Delete(ConferenceBookingBindingModel model);
}
}