Изменил сигнатуру метода получения элемента в интерфейсе логики

This commit is contained in:
Никита Потапов 2024-05-14 23:57:22 +04:00
parent d02b0337b2
commit 1d1d060b25
6 changed files with 6 additions and 6 deletions

View File

@ -27,7 +27,7 @@ namespace MedicalBusinessLogic.BusinessLogics
throw new NotImplementedException(); throw new NotImplementedException();
} }
public DiagnoseViewModel? ReadElement(DiagnoseSearchModel searchModel) public DiagnoseViewModel? ReadElement(int id)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

View File

@ -27,7 +27,7 @@ namespace MedicalBusinessLogic.BusinessLogics
throw new NotImplementedException(); throw new NotImplementedException();
} }
public DoctorViewModel? ReadElement(DoctorSearchModel searchModel) public DoctorViewModel? ReadElement(int id)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

View File

@ -27,7 +27,7 @@ namespace MedicalBusinessLogic.BusinessLogics
throw new NotImplementedException(); throw new NotImplementedException();
} }
public PatientViewModel? ReadElement(PatientSearchModel searchModel) public PatientViewModel? ReadElement(int id)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

View File

@ -27,7 +27,7 @@ namespace MedicalBusinessLogic.BusinessLogics
throw new NotImplementedException(); throw new NotImplementedException();
} }
public SpecializationViewModel? ReadElement(SpecializationSearchModel searchModel) public SpecializationViewModel? ReadElement(int id)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

View File

@ -27,7 +27,7 @@ namespace MedicalBusinessLogic.BusinessLogics
throw new NotImplementedException(); throw new NotImplementedException();
} }
public VisitViewModel? ReadElement(VisitSearchModel searchModel) public VisitViewModel? ReadElement(int id)
{ {
throw new NotImplementedException(); throw new NotImplementedException();
} }

View File

@ -10,7 +10,7 @@ namespace MedicalDatabaseContracts
where S : AbstractSearchModel where S : AbstractSearchModel
{ {
List<V>? ReadList(S? searchModel); List<V>? ReadList(S? searchModel);
V? ReadElement(S searchModel); V? ReadElement(int id);
bool Create(M model); bool Create(M model);
bool Update(M model); bool Update(M model);
bool Delete(M model); bool Delete(M model);