реализованы интерфейсы бизнес логики в контрактах
This commit is contained in:
parent
30aeebddd2
commit
0ff71496ae
Polyclinic/PolyclinicContracts/BusinessLogicsContracts
@ -0,0 +1,20 @@
|
|||||||
|
using PolyclinicContracts.BindingModels;
|
||||||
|
using PolyclinicContracts.SearchModels;
|
||||||
|
using PolyclinicContracts.ViewModels;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace PolyclinicContracts.BusinessLogicsContracts
|
||||||
|
{
|
||||||
|
public interface IMedicamentLogic
|
||||||
|
{
|
||||||
|
List<MedicamentView>? ReadList(MedicamentSearchModel? model);
|
||||||
|
MedicamentView? ReadElement(MedicamentSearchModel model);
|
||||||
|
bool Create(MedicamentBindingModel model);
|
||||||
|
bool Update(MedicamentBindingModel model);
|
||||||
|
bool Delete(MedicamentBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
using PolyclinicContracts.BindingModels;
|
||||||
|
using PolyclinicContracts.SearchModels;
|
||||||
|
using PolyclinicContracts.ViewModels;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace PolyclinicContracts.BusinessLogicsContracts
|
||||||
|
{
|
||||||
|
public interface IProcedureLogic
|
||||||
|
{
|
||||||
|
List<ProcedureView>? ReadList(ProcedureSearchModel? model);
|
||||||
|
ProcedureView? ReadElement(ProcedureSearchModel model);
|
||||||
|
bool Create(ProcedureBindingModel model);
|
||||||
|
bool Update(ProcedureBindingModel model);
|
||||||
|
bool Delete(ProcedureBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
using PolyclinicContracts.BindingModels;
|
||||||
|
using PolyclinicContracts.SearchModels;
|
||||||
|
using PolyclinicContracts.ViewModels;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace PolyclinicContracts.BusinessLogicsContracts
|
||||||
|
{
|
||||||
|
public interface IRecipeLogic
|
||||||
|
{
|
||||||
|
List<RecipeView>? ReadList(RecipeSearchModel? model);
|
||||||
|
RecipeView? ReadElement(RecipeSearchModel model);
|
||||||
|
bool Create(RecipeBindingModel model);
|
||||||
|
bool Update(RecipeBindingModel model);
|
||||||
|
bool Delete(RecipeBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
using PolyclinicContracts.BindingModels;
|
||||||
|
using PolyclinicContracts.SearchModels;
|
||||||
|
using PolyclinicContracts.ViewModels;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace PolyclinicContracts.BusinessLogicsContracts
|
||||||
|
{
|
||||||
|
public interface ISuretorLogic
|
||||||
|
{
|
||||||
|
List<SuretorView>? ReadList(SuretorSearchModel? model);
|
||||||
|
SuretorView? ReadElement(SuretorSearchModel model);
|
||||||
|
bool Create(SuretorBindingModel model);
|
||||||
|
bool Update(SuretorBindingModel model);
|
||||||
|
bool Delete(SuretorBindingModel model);
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user