вливаю всё, что было создано на 5, 6, 7 этапах в ветку main #12

Merged
ekallin merged 180 commits from stage7_user_web_interface_prototype into main 2024-05-01 19:15:20 +04:00
6 changed files with 64 additions and 1 deletions
Showing only changes of commit b9e024917a - Show all commits

View File

@ -7,7 +7,6 @@
</PropertyGroup>
<ItemGroup>
<Folder Include="StoragesContracts\" />
<Folder Include="BusinessLogicsContracts\" />
</ItemGroup>

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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);
}
}

View File

@ -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);
}
}