diff --git a/Medical/MedicalBusinessLogic/BusinessLogics/DiagnoseLogic.cs b/Medical/MedicalBusinessLogic/BusinessLogics/DiagnoseLogic.cs index eaf605e..763e2e7 100644 --- a/Medical/MedicalBusinessLogic/BusinessLogics/DiagnoseLogic.cs +++ b/Medical/MedicalBusinessLogic/BusinessLogics/DiagnoseLogic.cs @@ -27,7 +27,7 @@ namespace MedicalBusinessLogic.BusinessLogics throw new NotImplementedException(); } - public DiagnoseViewModel? ReadElement(DiagnoseSearchModel searchModel) + public DiagnoseViewModel? ReadElement(int id) { throw new NotImplementedException(); } diff --git a/Medical/MedicalBusinessLogic/BusinessLogics/DoctorLogic.cs b/Medical/MedicalBusinessLogic/BusinessLogics/DoctorLogic.cs index 075504b..cf29611 100644 --- a/Medical/MedicalBusinessLogic/BusinessLogics/DoctorLogic.cs +++ b/Medical/MedicalBusinessLogic/BusinessLogics/DoctorLogic.cs @@ -27,7 +27,7 @@ namespace MedicalBusinessLogic.BusinessLogics throw new NotImplementedException(); } - public DoctorViewModel? ReadElement(DoctorSearchModel searchModel) + public DoctorViewModel? ReadElement(int id) { throw new NotImplementedException(); } diff --git a/Medical/MedicalBusinessLogic/BusinessLogics/PatientLogic.cs b/Medical/MedicalBusinessLogic/BusinessLogics/PatientLogic.cs index f04d5b7..549ca0e 100644 --- a/Medical/MedicalBusinessLogic/BusinessLogics/PatientLogic.cs +++ b/Medical/MedicalBusinessLogic/BusinessLogics/PatientLogic.cs @@ -27,7 +27,7 @@ namespace MedicalBusinessLogic.BusinessLogics throw new NotImplementedException(); } - public PatientViewModel? ReadElement(PatientSearchModel searchModel) + public PatientViewModel? ReadElement(int id) { throw new NotImplementedException(); } diff --git a/Medical/MedicalBusinessLogic/BusinessLogics/SpecializationLogic.cs b/Medical/MedicalBusinessLogic/BusinessLogics/SpecializationLogic.cs index a41a9a6..5147b39 100644 --- a/Medical/MedicalBusinessLogic/BusinessLogics/SpecializationLogic.cs +++ b/Medical/MedicalBusinessLogic/BusinessLogics/SpecializationLogic.cs @@ -27,7 +27,7 @@ namespace MedicalBusinessLogic.BusinessLogics throw new NotImplementedException(); } - public SpecializationViewModel? ReadElement(SpecializationSearchModel searchModel) + public SpecializationViewModel? ReadElement(int id) { throw new NotImplementedException(); } diff --git a/Medical/MedicalBusinessLogic/BusinessLogics/VisitLogic.cs b/Medical/MedicalBusinessLogic/BusinessLogics/VisitLogic.cs index d5a40a0..6c2d59c 100644 --- a/Medical/MedicalBusinessLogic/BusinessLogics/VisitLogic.cs +++ b/Medical/MedicalBusinessLogic/BusinessLogics/VisitLogic.cs @@ -27,7 +27,7 @@ namespace MedicalBusinessLogic.BusinessLogics throw new NotImplementedException(); } - public VisitViewModel? ReadElement(VisitSearchModel searchModel) + public VisitViewModel? ReadElement(int id) { throw new NotImplementedException(); } diff --git a/Medical/MedicalDatabaseContracts/ILogic.cs b/Medical/MedicalDatabaseContracts/ILogic.cs index e2fa87e..acca3a4 100644 --- a/Medical/MedicalDatabaseContracts/ILogic.cs +++ b/Medical/MedicalDatabaseContracts/ILogic.cs @@ -10,7 +10,7 @@ namespace MedicalDatabaseContracts where S : AbstractSearchModel { List? ReadList(S? searchModel); - V? ReadElement(S searchModel); + V? ReadElement(int id); bool Create(M model); bool Update(M model); bool Delete(M model);