вливаю всё, что было создано на 5, 6, 7 этапах в ветку main #12
@ -7,7 +7,6 @@
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="StoragesContracts\" />
|
||||
<Folder Include="BusinessLogicsContracts\" />
|
||||
</ItemGroup>
|
||||
|
||||
|
@ -0,0 +1,16 @@
|
||||
using PolyclinicContracts.BindingModels;
|
||||
using PolyclinicContracts.SearchModels;
|
||||
using PolyclinicContracts.ViewModels;
|
||||
|
||||
namespace PolyclinicContracts.StoragesContracts
|
||||
{
|
||||
public interface ICourseStorage
|
||||
{
|
||||
List<CourseViewModel> GetFullList();
|
||||
List<CourseViewModel> GetFilteredList(CourseSearchModel model);
|
||||
CourseViewModel? GetElement(CourseSearchModel model);
|
||||
CourseViewModel? Insert(CourseBindingModel model);
|
||||
CourseViewModel? Update(CourseBindingModel model);
|
||||
CourseViewModel? Delete(CourseBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
using PolyclinicContracts.BindingModels;
|
||||
using PolyclinicContracts.SearchModels;
|
||||
using PolyclinicContracts.ViewModels;
|
||||
|
||||
namespace PolyclinicContracts.StoragesContracts
|
||||
{
|
||||
public interface IDiagnosisStorage
|
||||
{
|
||||
List<DiagnosisViewModel> GetFullList();
|
||||
List<DiagnosisViewModel> GetFilteredList(DiagnosisSearchModel model);
|
||||
DiagnosisViewModel? GetElement(DiagnosisSearchModel model);
|
||||
DiagnosisViewModel? Insert(DiagnosisBindingModel model);
|
||||
DiagnosisViewModel? Update(DiagnosisBindingModel model);
|
||||
DiagnosisViewModel? Delete(DiagnosisBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
using PolyclinicContracts.BindingModels;
|
||||
using PolyclinicContracts.SearchModels;
|
||||
using PolyclinicContracts.ViewModels;
|
||||
|
||||
namespace PolyclinicContracts.StoragesContracts
|
||||
{
|
||||
public interface IExecutorStorage
|
||||
{
|
||||
List<ExecutorViewModel> GetFullList();
|
||||
List<ExecutorViewModel> GetFilteredList(ExecutorSearchModel model);
|
||||
ExecutorViewModel? GetElement(ExecutorSearchModel model);
|
||||
ExecutorViewModel? Insert(ExecutorBindingModel model);
|
||||
ExecutorViewModel? Update(ExecutorBindingModel model);
|
||||
ExecutorViewModel? Delete(ExecutorBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
using PolyclinicContracts.BindingModels;
|
||||
using PolyclinicContracts.SearchModels;
|
||||
using PolyclinicContracts.ViewModels;
|
||||
|
||||
namespace PolyclinicContracts.StoragesContracts
|
||||
{
|
||||
public interface ISymptomStorage
|
||||
{
|
||||
List<SymptomViewModel> GetFullList();
|
||||
List<SymptomViewModel> GetFilteredList(SymptomSearchModel model);
|
||||
SymptomViewModel? GetElement(SymptomSearchModel model);
|
||||
SymptomViewModel? Insert(SymptomBindingModel model);
|
||||
SymptomViewModel? Update(SymptomBindingModel model);
|
||||
SymptomViewModel? Delete(SymptomBindingModel model);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user