DataBaseImplement, реализованы интерфейсы

This commit is contained in:
AnnZhimol 2023-04-02 14:32:57 +04:00
parent fc1d022dff
commit a2b70e2e76
6 changed files with 165 additions and 0 deletions

View 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();
}
}
}

View 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();
}
}
}

View 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();
}
}
}

View 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();
}
}

View 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();
}
}

View 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();
}
}