CourseWork_Hotel/Hotel/HotelContracts/StoragesContracts/IConferenceStorage.cs

22 lines
612 B
C#
Raw Normal View History

2023-04-01 19:42:24 +04:00
using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.StoragesContracts
{
public interface IConferenceStorage
{
2023-04-01 19:42:24 +04:00
List<ConferenceViewModel> GetFullList();
List<ConferenceViewModel> GetFilteredList(ConferenceSearchModel model);
ConferenceViewModel? GetElement(ConferenceSearchModel model);
ConferenceViewModel? Insert(ConferenceBindingModel model);
ConferenceViewModel? Update(ConferenceBindingModel model);
ConferenceViewModel? Delete(ConferenceBindingModel model);
}
}