DataBaseImplement, реализованы интерфейсы
This commit is contained in:
parent
fc1d022dff
commit
a2b70e2e76
Hotel/HotelDataBaseImplement
40
Hotel/HotelDataBaseImplement/Implemets/ConferenceStorage.cs
Normal file
40
Hotel/HotelDataBaseImplement/Implemets/ConferenceStorage.cs
Normal file
@ -0,0 +1,40 @@
|
||||
using HotelContracts.BindingModels;
|
||||
using HotelContracts.SearchModels;
|
||||
using HotelContracts.StoragesContracts;
|
||||
using HotelContracts.ViewModels;
|
||||
|
||||
namespace HotelDataBaseImplement.Implemets
|
||||
{
|
||||
public class ConferenceStorage : IConferenceStorage
|
||||
{
|
||||
public ConferenceViewModel? Delete(ConferenceBindingModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public ConferenceViewModel? GetElement(ConferenceSearchModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public List<ConferenceViewModel> GetFilteredList(ConferenceSearchModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public List<ConferenceViewModel> GetFullList()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public ConferenceViewModel? Insert(ConferenceBindingModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public ConferenceViewModel? Update(ConferenceBindingModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
40
Hotel/HotelDataBaseImplement/Implemets/MealPlanStorage.cs
Normal file
40
Hotel/HotelDataBaseImplement/Implemets/MealPlanStorage.cs
Normal file
@ -0,0 +1,40 @@
|
||||
using HotelContracts.BindingModels;
|
||||
using HotelContracts.SearchModels;
|
||||
using HotelContracts.StoragesContracts;
|
||||
using HotelContracts.ViewModels;
|
||||
|
||||
namespace HotelDataBaseImplement.Implemets
|
||||
{
|
||||
public class MealPlanStorage : IMealPlanStorage
|
||||
{
|
||||
public MealPlanViewModel? Delete(MealPlanBindingModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public MealPlanViewModel? GetElement(MealPlanSearchModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public List<MealPlanViewModel> GetFilteredList(MealPlanSearchModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public List<MealPlanViewModel> GetFullList()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public MealPlanViewModel? Insert(MealPlanBindingModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public MealPlanViewModel? Update(MealPlanBindingModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
40
Hotel/HotelDataBaseImplement/Implemets/MemberStorage.cs
Normal file
40
Hotel/HotelDataBaseImplement/Implemets/MemberStorage.cs
Normal file
@ -0,0 +1,40 @@
|
||||
using HotelContracts.BindingModels;
|
||||
using HotelContracts.SearchModels;
|
||||
using HotelContracts.StoragesContracts;
|
||||
using HotelContracts.ViewModels;
|
||||
|
||||
namespace HotelDataBaseImplement.Implemets
|
||||
{
|
||||
public class MemberStorage : IMemberStorage
|
||||
{
|
||||
public MemberViewModel? Delete(MemberBindingModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public MemberViewModel? GetElement(MemberSearchModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public List<MemberViewModel> GetFilteredList(MemberSearchModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public List<MemberViewModel> GetFullList()
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public MemberViewModel? Insert(MemberBindingModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public MemberViewModel? Update(MemberBindingModel model)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
15
Hotel/HotelDataBaseImplement/Models/Conference.cs
Normal file
15
Hotel/HotelDataBaseImplement/Models/Conference.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using HotelDataModels.Models;
|
||||
|
||||
namespace HotelDataBaseImplement.Models
|
||||
{
|
||||
public class Conference : IConferenceModel
|
||||
{
|
||||
public string ConferenceName => throw new NotImplementedException();
|
||||
|
||||
public DateTime StartDate => throw new NotImplementedException();
|
||||
|
||||
public int OrganiserId => throw new NotImplementedException();
|
||||
|
||||
public int Id => throw new NotImplementedException();
|
||||
}
|
||||
}
|
15
Hotel/HotelDataBaseImplement/Models/MealPlan.cs
Normal file
15
Hotel/HotelDataBaseImplement/Models/MealPlan.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using HotelDataModels.Models;
|
||||
|
||||
namespace HotelDataBaseImplement.Models
|
||||
{
|
||||
public class MealPlan : IMealPlanModel
|
||||
{
|
||||
public string MealPlanName => throw new NotImplementedException();
|
||||
|
||||
public double MealPlanPrice => throw new NotImplementedException();
|
||||
|
||||
public int OrganiserId => throw new NotImplementedException();
|
||||
|
||||
public int Id => throw new NotImplementedException();
|
||||
}
|
||||
}
|
15
Hotel/HotelDataBaseImplement/Models/Member.cs
Normal file
15
Hotel/HotelDataBaseImplement/Models/Member.cs
Normal file
@ -0,0 +1,15 @@
|
||||
using HotelDataModels.Models;
|
||||
|
||||
namespace HotelDataBaseImplement.Models
|
||||
{
|
||||
public class Member : IMemberModel
|
||||
{
|
||||
public string MemberFIO => throw new NotImplementedException();
|
||||
|
||||
public string Citizenship => throw new NotImplementedException();
|
||||
|
||||
public int OrganiserId => throw new NotImplementedException();
|
||||
|
||||
public int Id => throw new NotImplementedException();
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user