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

22 lines
612 B
C#

using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.StoragesContracts
{
public interface IConferenceStorage
{
List<ConferenceViewModel> GetFullList();
List<ConferenceViewModel> GetFilteredList(ConferenceSearchModel model);
ConferenceViewModel? GetElement(ConferenceSearchModel model);
ConferenceViewModel? Insert(ConferenceBindingModel model);
ConferenceViewModel? Update(ConferenceBindingModel model);
ConferenceViewModel? Delete(ConferenceBindingModel model);
}
}