StoragesContracts
This commit is contained in:
parent
7381cb4b27
commit
a0b135e995
@ -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);
|
||||
}
|
||||
}
|
||||
|
21
Hotel/HotelContracts/StoragesContracts/IMealPlanStorage.cs
Normal file
21
Hotel/HotelContracts/StoragesContracts/IMealPlanStorage.cs
Normal 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);
|
||||
}
|
||||
}
|
21
Hotel/HotelContracts/StoragesContracts/IMemberStorage.cs
Normal file
21
Hotel/HotelContracts/StoragesContracts/IMemberStorage.cs
Normal 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);
|
||||
}
|
||||
}
|
21
Hotel/HotelContracts/StoragesContracts/IOrganiserStorage.cs
Normal file
21
Hotel/HotelContracts/StoragesContracts/IOrganiserStorage.cs
Normal 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);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user