Определил интерфейсы хранилищ для БД, необходимо их реализовать

This commit is contained in:
Никита Потапов 2024-04-29 20:23:37 +04:00
parent 8e6cdea8fe
commit 5d9a51f5e4
5 changed files with 165 additions and 5 deletions

View File

@ -1,8 +1,40 @@
using PolyclinicContracts.StoragesContracts; using PolyclinicContracts.BindingModels;
using PolyclinicContracts.SearchModels;
using PolyclinicContracts.StoragesContracts;
using PolyclinicContracts.ViewModels;
namespace PolyclinicDatabaseImplement.Implements namespace PolyclinicDatabaseImplement.Implements
{ {
public class CourseStorage : ICourseStorage public class CourseStorage : ICourseStorage
{ {
public CourseViewModel? Delete(CourseBindingModel model)
{
throw new NotImplementedException();
}
public CourseViewModel? GetElement(CourseSearchModel model)
{
throw new NotImplementedException();
}
public List<CourseViewModel> GetFilteredList(CourseSearchModel model)
{
throw new NotImplementedException();
}
public List<CourseViewModel> GetFullList()
{
throw new NotImplementedException();
}
public CourseViewModel? Insert(CourseBindingModel model)
{
throw new NotImplementedException();
}
public CourseViewModel? Update(CourseBindingModel model)
{
throw new NotImplementedException();
}
} }
} }

View File

@ -1,8 +1,40 @@
using PolyclinicContracts.StoragesContracts; using PolyclinicContracts.BindingModels;
using PolyclinicContracts.SearchModels;
using PolyclinicContracts.StoragesContracts;
using PolyclinicContracts.ViewModels;
namespace PolyclinicDatabaseImplement.Implements namespace PolyclinicDatabaseImplement.Implements
{ {
public class DiagnoseStorage : IDiagnoseStorage public class DiagnoseStorage : IDiagnoseStorage
{ {
public DiagnoseViewModel? Delete(DiagnoseBindingModel model)
{
throw new NotImplementedException();
}
public DiagnoseViewModel? GetElement(DiagnoseSearchModel model)
{
throw new NotImplementedException();
}
public List<DiagnoseViewModel> GetFilteredList(DiagnoseSearchModel model)
{
throw new NotImplementedException();
}
public List<DiagnoseViewModel> GetFullList()
{
throw new NotImplementedException();
}
public DiagnoseViewModel? Insert(DiagnoseBindingModel model)
{
throw new NotImplementedException();
}
public DiagnoseViewModel? Update(DiagnoseBindingModel model)
{
throw new NotImplementedException();
}
} }
} }

View File

@ -1,8 +1,40 @@
using PolyclinicContracts.StoragesContracts; using PolyclinicContracts.BindingModels;
using PolyclinicContracts.SearchModels;
using PolyclinicContracts.StoragesContracts;
using PolyclinicContracts.ViewModels;
namespace PolyclinicDatabaseImplement.Implements namespace PolyclinicDatabaseImplement.Implements
{ {
public class MedicamentStorage : IMedicamentStorage public class MedicamentStorage : IMedicamentStorage
{ {
public MedicamentViewModel? Delete(MedicamentBindingModel model)
{
throw new NotImplementedException();
}
public MedicamentViewModel? GetElement(MedicamentSearchModel model)
{
throw new NotImplementedException();
}
public List<MedicamentViewModel> GetFilteredList(MedicamentSearchModel model)
{
throw new NotImplementedException();
}
public List<MedicamentViewModel> GetFullList()
{
throw new NotImplementedException();
}
public MedicamentViewModel? Insert(MedicamentBindingModel model)
{
throw new NotImplementedException();
}
public MedicamentViewModel? Update(MedicamentBindingModel model)
{
throw new NotImplementedException();
}
} }
} }

View File

@ -1,8 +1,40 @@
using PolyclinicContracts.StoragesContracts; using PolyclinicContracts.BindingModels;
using PolyclinicContracts.SearchModels;
using PolyclinicContracts.StoragesContracts;
using PolyclinicContracts.ViewModels;
namespace PolyclinicDatabaseImplement.Implements namespace PolyclinicDatabaseImplement.Implements
{ {
public class SymptomStorage : ISymptomStorage public class SymptomStorage : ISymptomStorage
{ {
public SymptomViewModel? Delete(SymptomBindingModel model)
{
throw new NotImplementedException();
}
public SymptomViewModel? GetElement(SymptomSearchModel model)
{
throw new NotImplementedException();
}
public List<SymptomViewModel> GetFilteredList(SymptomSearchModel model)
{
throw new NotImplementedException();
}
public List<SymptomViewModel> GetFullList()
{
throw new NotImplementedException();
}
public SymptomViewModel? Insert(SymptomBindingModel model)
{
throw new NotImplementedException();
}
public SymptomViewModel? Update(SymptomBindingModel model)
{
throw new NotImplementedException();
}
} }
} }

View File

@ -1,8 +1,40 @@
using PolyclinicContracts.StoragesContracts; using PolyclinicContracts.BindingModels;
using PolyclinicContracts.SearchModels;
using PolyclinicContracts.StoragesContracts;
using PolyclinicContracts.ViewModels;
namespace PolyclinicDatabaseImplement.Implements namespace PolyclinicDatabaseImplement.Implements
{ {
public class UserStorage : IUserStorage public class UserStorage : IUserStorage
{ {
public UserViewModel? Delete(UserBindingModel model)
{
throw new NotImplementedException();
}
public UserViewModel? GetElement(UserSearchModel model)
{
throw new NotImplementedException();
}
public List<UserViewModel> GetFilteredList(UserSearchModel model)
{
throw new NotImplementedException();
}
public List<UserViewModel> GetFullList()
{
throw new NotImplementedException();
}
public UserViewModel? Insert(UserBindingModel model)
{
throw new NotImplementedException();
}
public UserViewModel? Update(UserBindingModel model)
{
throw new NotImplementedException();
}
} }
} }