Никита. Создал контракты бизнес-логики
This commit is contained in:
parent
b9e024917a
commit
070780cadb
@ -0,0 +1,15 @@
|
||||
using PolyclinicContracts.BindingModels;
|
||||
using PolyclinicContracts.SearchModels;
|
||||
using PolyclinicContracts.ViewModels;
|
||||
|
||||
namespace PolyclinicContracts.BusinessLogicsContracts
|
||||
{
|
||||
public interface ICourseLogic
|
||||
{
|
||||
List<CourseViewModel>? ReadList(CourseSearchModel? model);
|
||||
CourseViewModel? ReadElement(CourseSearchModel model);
|
||||
bool Create(CourseBindingModel model);
|
||||
bool Update(CourseBindingModel model);
|
||||
bool Delete(CourseBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using PolyclinicContracts.BindingModels;
|
||||
using PolyclinicContracts.SearchModels;
|
||||
using PolyclinicContracts.ViewModels;
|
||||
|
||||
namespace PolyclinicContracts.BusinessLogicsContracts
|
||||
{
|
||||
public interface IDiagnosisLogic
|
||||
{
|
||||
List<DiagnosisViewModel>? ReadList(DiagnosisSearchModel? model);
|
||||
DiagnosisViewModel? ReadElement(DiagnosisSearchModel model);
|
||||
bool Create(DiagnosisBindingModel model);
|
||||
bool Update(DiagnosisBindingModel model);
|
||||
bool Delete(DiagnosisBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using PolyclinicContracts.BindingModels;
|
||||
using PolyclinicContracts.SearchModels;
|
||||
using PolyclinicContracts.ViewModels;
|
||||
|
||||
namespace PolyclinicContracts.BusinessLogicsContracts
|
||||
{
|
||||
public interface IExecutorLogic
|
||||
{
|
||||
List<ExecutorViewModel>? ReadList(ExecutorSearchModel? model);
|
||||
ExecutorViewModel? ReadElement(ExecutorSearchModel model);
|
||||
bool Create(ExecutorBindingModel model);
|
||||
bool Update(ExecutorBindingModel model);
|
||||
bool Delete(ExecutorBindingModel model);
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
using PolyclinicContracts.BindingModels;
|
||||
using PolyclinicContracts.SearchModels;
|
||||
using PolyclinicContracts.ViewModels;
|
||||
|
||||
namespace PolyclinicContracts.BusinessLogicsContracts
|
||||
{
|
||||
public interface ISymptomLogic
|
||||
{
|
||||
List<SymptomViewModel>? ReadList(SymptomSearchModel? model);
|
||||
SymptomViewModel? ReadElement(SymptomSearchModel model);
|
||||
bool Create(SymptomBindingModel model);
|
||||
bool Update(SymptomBindingModel model);
|
||||
bool Delete(SymptomBindingModel model);
|
||||
}
|
||||
}
|
@ -6,10 +6,6 @@
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="BusinessLogicsContracts\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\PolyclinicDataModels\PolyclinicDataModels.csproj" />
|
||||
</ItemGroup>
|
||||
|
Loading…
Reference in New Issue
Block a user