Добавлены классы бизнес логики, необходимо их реализовать

This commit is contained in:
Никита Потапов 2024-04-29 22:01:58 +04:00
parent 029a4d67df
commit 979829d54e
9 changed files with 246 additions and 1 deletions

View File

@ -0,0 +1,35 @@
using PolyclinicContracts.BindingModels;
using PolyclinicContracts.BusinessLogicsContracts;
using PolyclinicContracts.SearchModels;
using PolyclinicContracts.ViewModels;
namespace PolyclinicBusinessLogic.BusinessLogics
{
public class CourseLogic : ICourseLogic
{
public bool Create(CourseBindingModel model)
{
throw new NotImplementedException();
}
public bool Delete(CourseBindingModel model)
{
throw new NotImplementedException();
}
public CourseViewModel? ReadElement(CourseSearchModel model)
{
throw new NotImplementedException();
}
public List<CourseViewModel>? ReadList(CourseSearchModel? model)
{
throw new NotImplementedException();
}
public bool Update(CourseBindingModel model)
{
throw new NotImplementedException();
}
}
}

View File

@ -0,0 +1,35 @@
using PolyclinicContracts.BindingModels;
using PolyclinicContracts.BusinessLogicsContracts;
using PolyclinicContracts.SearchModels;
using PolyclinicContracts.ViewModels;
namespace PolyclinicBusinessLogic.BusinessLogics
{
public class DiagnoseLogic : IDiagnoseLogic
{
public bool Create(DiagnoseBindingModel model)
{
throw new NotImplementedException();
}
public bool Delete(DiagnoseBindingModel model)
{
throw new NotImplementedException();
}
public DiagnoseViewModel? ReadElement(DiagnoseSearchModel model)
{
throw new NotImplementedException();
}
public List<DiagnoseViewModel>? ReadList(DiagnoseSearchModel? model)
{
throw new NotImplementedException();
}
public bool Update(DiagnoseBindingModel model)
{
throw new NotImplementedException();
}
}
}

View File

@ -0,0 +1,35 @@
using PolyclinicContracts.BindingModels;
using PolyclinicContracts.BusinessLogicsContracts;
using PolyclinicContracts.SearchModels;
using PolyclinicContracts.ViewModels;
namespace PolyclinicBusinessLogic.BusinessLogics
{
public class MedicamentLogic : IMedicamentLogic
{
public bool Create(MedicamentBindingModel model)
{
throw new NotImplementedException();
}
public bool Delete(MedicamentBindingModel model)
{
throw new NotImplementedException();
}
public MedicamentViewModel? ReadElement(MedicamentSearchModel model)
{
throw new NotImplementedException();
}
public List<MedicamentViewModel>? ReadList(MedicamentSearchModel? model)
{
throw new NotImplementedException();
}
public bool Update(MedicamentBindingModel model)
{
throw new NotImplementedException();
}
}
}

View File

@ -0,0 +1,35 @@
using PolyclinicContracts.BindingModels;
using PolyclinicContracts.BusinessLogicsContracts;
using PolyclinicContracts.SearchModels;
using PolyclinicContracts.ViewModels;
namespace PolyclinicBusinessLogic.BusinessLogics
{
public class ProcedureLogic : IProcedureLogic
{
public bool Create(ProcedureBindingModel model)
{
throw new NotImplementedException();
}
public bool Delete(ProcedureBindingModel model)
{
throw new NotImplementedException();
}
public ProcedureViewModel? ReadElement(ProcedureSearchModel model)
{
throw new NotImplementedException();
}
public List<ProcedureViewModel>? ReadList(ProcedureSearchModel? model)
{
throw new NotImplementedException();
}
public bool Update(ProcedureBindingModel model)
{
throw new NotImplementedException();
}
}
}

View File

@ -0,0 +1,35 @@
using PolyclinicContracts.BindingModels;
using PolyclinicContracts.BusinessLogicsContracts;
using PolyclinicContracts.SearchModels;
using PolyclinicContracts.ViewModels;
namespace PolyclinicBusinessLogic.BusinessLogics
{
public class RecipeLogic : IRecipeLogic
{
public bool Create(RecipeBindingModel model)
{
throw new NotImplementedException();
}
public bool Delete(RecipeBindingModel model)
{
throw new NotImplementedException();
}
public RecipeViewModel? ReadElement(RecipeSearchModel model)
{
throw new NotImplementedException();
}
public List<RecipeViewModel>? ReadList(RecipeSearchModel? model)
{
throw new NotImplementedException();
}
public bool Update(RecipeBindingModel model)
{
throw new NotImplementedException();
}
}
}

View File

@ -0,0 +1,35 @@
using PolyclinicContracts.BindingModels;
using PolyclinicContracts.BusinessLogicsContracts;
using PolyclinicContracts.SearchModels;
using PolyclinicContracts.ViewModels;
namespace PolyclinicBusinessLogic.BusinessLogics
{
public class SymptomLogic : ISymptomLogic
{
public bool Create(SymptomBindingModel model)
{
throw new NotImplementedException();
}
public bool Delete(SymptomBindingModel model)
{
throw new NotImplementedException();
}
public SymptomViewModel? ReadElement(SymptomSearchModel model)
{
throw new NotImplementedException();
}
public List<SymptomViewModel>? ReadList(SymptomSearchModel? model)
{
throw new NotImplementedException();
}
public bool Update(SymptomBindingModel model)
{
throw new NotImplementedException();
}
}
}

View File

@ -0,0 +1,35 @@
using PolyclinicContracts.BindingModels;
using PolyclinicContracts.BusinessLogicsContracts;
using PolyclinicContracts.SearchModels;
using PolyclinicContracts.ViewModels;
namespace PolyclinicBusinessLogic.BusinessLogics
{
public class UserLogic : IUserLogic
{
public bool Create(UserBindingModel model)
{
throw new NotImplementedException();
}
public bool Delete(UserBindingModel model)
{
throw new NotImplementedException();
}
public UserViewModel? ReadElement(UserSearchModel model)
{
throw new NotImplementedException();
}
public List<UserViewModel>? ReadList(UserSearchModel? model)
{
throw new NotImplementedException();
}
public bool Update(UserBindingModel model)
{
throw new NotImplementedException();
}
}
}

View File

@ -7,7 +7,7 @@
</PropertyGroup>
<ItemGroup>
<Folder Include="BusinessLogics\" />
<ProjectReference Include="..\PolyclinicContracts\PolyclinicContracts.csproj" />
</ItemGroup>
</Project>