StoragesContracts

This commit is contained in:
AnnZhimol 2023-04-01 19:42:24 +04:00
parent 7381cb4b27
commit a0b135e995
4 changed files with 79 additions and 1 deletions

View File

@ -1,6 +1,21 @@
namespace HotelContracts.StoragesContracts
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);
}
}

View File

@ -0,0 +1,21 @@
using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.StoragesContracts
{
public interface IMealPlanStorage
{
List<MealPlanViewModel> GetFullList();
List<MealPlanViewModel> GetFilteredList(MealPlanSearchModel model);
MealPlanViewModel? GetElement(MealPlanSearchModel model);
MealPlanViewModel? Insert(MealPlanBindingModel model);
MealPlanViewModel? Update(MealPlanBindingModel model);
MealPlanViewModel? Delete(MealPlanBindingModel model);
}
}

View File

@ -0,0 +1,21 @@
using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.StoragesContracts
{
public interface IMemberStorage
{
List<MemberViewModel> GetFullList();
List<MemberViewModel> GetFilteredList(MemberSearchModel model);
MemberViewModel? GetElement(MemberSearchModel model);
MemberViewModel? Insert(MemberBindingModel model);
MemberViewModel? Update(MemberBindingModel model);
MemberViewModel? Delete(MemberBindingModel model);
}
}

View File

@ -0,0 +1,21 @@
using HotelContracts.BindingModels;
using HotelContracts.SearchModels;
using HotelContracts.ViewModels;
namespace HotelContracts.StoragesContracts
{
public interface IOrganiserStorage
{
List<OrganiserViewModel> GetFullList();
List<OrganiserViewModel> GetFilteredList(OrganiserSearchModel model);
OrganiserViewModel? GetElement(OrganiserSearchModel model);
OrganiserViewModel? Insert(OrganiserBindingModel model);
OrganiserViewModel? Update(OrganiserBindingModel model);
OrganiserViewModel? Delete(OrganiserBindingModel model);
}
}