Bugfix / Change comments

This commit is contained in:
parent 9dee5eaa47
commit f573848354
12 changed files with 307 additions and 307 deletions

View File

@ -15,35 +15,35 @@ namespace HospitalContracts.BusinessLogicsContracts
public interface IDiseaseLogic public interface IDiseaseLogic
{ {
/// <summary> /// <summary>
/// Получение списка /// Получить список
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
List<DiseaseViewModel>? ReadList(DiseaseSearchModel? model); List<DiseaseViewModel>? ReadList(DiseaseSearchModel? model);
/// <summary> /// <summary>
/// Получение отдельной записи /// Получить отдельную запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
DiseaseViewModel? ReadElement(DiseaseSearchModel model); DiseaseViewModel? ReadElement(DiseaseSearchModel model);
/// <summary> /// <summary>
/// Создание записи /// Создать запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Create(DiseaseBindingModel model); bool Create(DiseaseBindingModel model);
/// <summary> /// <summary>
/// Изменение записи /// Изменить запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Update(DiseaseBindingModel model); bool Update(DiseaseBindingModel model);
/// <summary> /// <summary>
/// Удаление записи /// Удалить запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>

View File

@ -14,39 +14,39 @@ namespace HospitalContracts.BusinessLogicsContracts
/// </summary> /// </summary>
public interface IDoctorLogic public interface IDoctorLogic
{ {
/// <summary> /// <summary>
/// Получение списка /// Получить список
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
List<DoctorViewModel>? ReadList(DoctorSearchModel? model); List<DoctorViewModel>? ReadList(DoctorSearchModel? model);
/// <summary> /// <summary>
/// Получение отдельной записи /// Получить отдельную запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
DoctorViewModel? ReadElement(DoctorSearchModel model); DoctorViewModel? ReadElement(DoctorSearchModel model);
/// <summary> /// <summary>
/// Создание записи /// Создать запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Create(DoctorBindingModel model); bool Create(DoctorBindingModel model);
/// <summary> /// <summary>
/// Изменение записи /// Изменить запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Update(DoctorBindingModel model); bool Update(DoctorBindingModel model);
/// <summary> /// <summary>
/// Удаление записи /// Удалить запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Delete(DoctorBindingModel model); bool Delete(DoctorBindingModel model);
} }
} }

View File

@ -14,39 +14,39 @@ namespace HospitalContracts.BusinessLogicsContracts
/// </summary> /// </summary>
public interface IMedicineLogic public interface IMedicineLogic
{ {
/// <summary> /// <summary>
/// Получение списка /// Получить список
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
List<MedicineViewModel>? ReadList(MedicineSearchModel? model); List<MedicineViewModel>? ReadList(MedicineSearchModel? model);
/// <summary> /// <summary>
/// Получение отдельной записи /// Получить отдельную запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
MedicineViewModel? ReadElement(MedicineSearchModel model); MedicineViewModel? ReadElement(MedicineSearchModel model);
/// <summary> /// <summary>
/// Создание записи /// Создать запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Create(MedicineBindingModel model); bool Create(MedicineBindingModel model);
/// <summary> /// <summary>
/// Изменение записи /// Изменить запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Update(MedicineBindingModel model); bool Update(MedicineBindingModel model);
/// <summary> /// <summary>
/// Удаление записи /// Удалить запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Delete(MedicineBindingModel model); bool Delete(MedicineBindingModel model);
} }
} }

View File

@ -14,39 +14,39 @@ namespace HospitalContracts.BusinessLogicsContracts
/// </summary> /// </summary>
public interface IPatientLogic public interface IPatientLogic
{ {
/// <summary> /// <summary>
/// Получение списка /// Получить список
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
List<PatientViewModel>? ReadList(PatientSearchModel? model); List<PatientViewModel>? ReadList(PatientSearchModel? model);
/// <summary> /// <summary>
/// Получение отдельной записи /// Получить отдельную запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
PatientViewModel? ReadElement(PatientSearchModel model); PatientViewModel? ReadElement(PatientSearchModel model);
/// <summary> /// <summary>
/// Создание записи /// Создать запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Create(PatientBindingModel model); bool Create(PatientBindingModel model);
/// <summary> /// <summary>
/// Изменение записи /// Изменить запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Update(PatientBindingModel model); bool Update(PatientBindingModel model);
/// <summary> /// <summary>
/// Удаление записи /// Удалить запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Delete(PatientBindingModel model); bool Delete(PatientBindingModel model);
} }
} }

View File

@ -14,39 +14,39 @@ namespace HospitalContracts.BusinessLogicsContracts
/// </summary> /// </summary>
public interface IProcedureLogic public interface IProcedureLogic
{ {
/// <summary> /// <summary>
/// Получение списка /// Получить список
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
List<ProcedureViewModel>? ReadList(ProcedureSearchModel? model); List<ProcedureViewModel>? ReadList(ProcedureSearchModel? model);
/// <summary> /// <summary>
/// Получение отдельной записи /// Получить отдельную запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
ProcedureViewModel? ReadElement(ProcedureSearchModel model); ProcedureViewModel? ReadElement(ProcedureSearchModel model);
/// <summary> /// <summary>
/// Создание записи /// Создать запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Create(ProcedureBindingModel model); bool Create(ProcedureBindingModel model);
/// <summary> /// <summary>
/// Изменение записи /// Изменить запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Update(ProcedureBindingModel model); bool Update(ProcedureBindingModel model);
/// <summary> /// <summary>
/// Удаление записи /// Удалить запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Delete(ProcedureBindingModel model); bool Delete(ProcedureBindingModel model);
} }
} }

View File

@ -14,39 +14,39 @@ namespace HospitalContracts.BusinessLogicsContracts
/// </summary> /// </summary>
public interface IRecipeLogic public interface IRecipeLogic
{ {
/// <summary> /// <summary>
/// Получение списка /// Получить список
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
List<RecipeViewModel>? ReadList(RecipeSearchModel? model); List<RecipeViewModel>? ReadList(RecipeSearchModel? model);
/// <summary> /// <summary>
/// Получение отдельной записи /// Получить отдельную запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
RecipeViewModel? ReadElement(RecipeSearchModel model); RecipeViewModel? ReadElement(RecipeSearchModel model);
/// <summary> /// <summary>
/// Создание записи /// Создать запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Create(RecipeBindingModel model); bool Create(RecipeBindingModel model);
/// <summary> /// <summary>
/// Изменение записи /// Изменить запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Update(RecipeBindingModel model); bool Update(RecipeBindingModel model);
/// <summary> /// <summary>
/// Удаление записи /// Удалить запись
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
bool Delete(RecipeBindingModel model); bool Delete(RecipeBindingModel model);
} }
} }

View File

@ -15,41 +15,41 @@ namespace HospitalContracts.StoragesContracts
public interface IDiseaseStorage public interface IDiseaseStorage
{ {
/// <summary> /// <summary>
/// Получение полного списка /// Получить полный список
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
List<DiseaseViewModel> GetFullList(); List<DiseaseViewModel> GetFullList();
/// <summary> /// <summary>
/// Получение фильтрованного списка /// Получить фильтрованный спискок
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
List<DiseaseViewModel> GetFilteredList(DiseaseSearchModel model); List<DiseaseViewModel> GetFilteredList(DiseaseSearchModel model);
/// <summary> /// <summary>
/// Получение элемента /// Получить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
DiseaseViewModel? GetElement(DiseaseSearchModel model); DiseaseViewModel? GetElement(DiseaseSearchModel model);
/// <summary> /// <summary>
/// Добавление элемента /// Добавить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
DiseaseViewModel? Insert(DiseaseBindingModel model); DiseaseViewModel? Insert(DiseaseBindingModel model);
/// <summary> /// <summary>
/// Редактирование элемента /// Редактировать элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
DiseaseViewModel? Update(DiseaseBindingModel model); DiseaseViewModel? Update(DiseaseBindingModel model);
/// <summary> /// <summary>
/// Удаление элемента /// Удалить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>

View File

@ -15,41 +15,41 @@ namespace HospitalContracts.StoragesContracts
public interface IDoctorStorage public interface IDoctorStorage
{ {
/// <summary> /// <summary>
/// Получение полного списка /// Получить полный список
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
List<DoctorViewModel> GetFullList(); List<DoctorViewModel> GetFullList();
/// <summary> /// <summary>
/// Получение фильтрованного списка /// Получить фильтрованный список
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
List<DoctorViewModel> GetFilteredList(DoctorSearchModel model); List<DoctorViewModel> GetFilteredList(DoctorSearchModel model);
/// <summary> /// <summary>
/// Получение элемента /// Получить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
DoctorViewModel? GetElement(DoctorSearchModel model); DoctorViewModel? GetElement(DoctorSearchModel model);
/// <summary> /// <summary>
/// Добавление элемента /// Добавить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
DoctorViewModel? Insert(DoctorBindingModel model); DoctorViewModel? Insert(DoctorBindingModel model);
/// <summary> /// <summary>
/// Редактирование элемента /// Редактировать элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
DoctorViewModel? Update(DoctorBindingModel model); DoctorViewModel? Update(DoctorBindingModel model);
/// <summary> /// <summary>
/// Удаление элемента /// Удалить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>

View File

@ -14,45 +14,45 @@ namespace HospitalContracts.StoragesContracts
/// </summary> /// </summary>
public interface IMedicineStorage public interface IMedicineStorage
{ {
/// <summary> /// <summary>
/// Получение полного списка /// Получить полный список
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
List<MedicineViewModel> GetFullList(); List<MedicineViewModel> GetFullList();
/// <summary> /// <summary>
/// Получение фильтрованного списка /// Получить фильтрованный список
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
List<MedicineViewModel> GetFilteredList(MedicineSearchModel model); List<MedicineViewModel> GetFilteredList(MedicineSearchModel model);
/// <summary> /// <summary>
/// Получение элемента /// Получить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
MedicineViewModel? GetElement(MedicineSearchModel model); MedicineViewModel? GetElement(MedicineSearchModel model);
/// <summary> /// <summary>
/// Добавление элемента /// Добавить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
MedicineViewModel? Insert(MedicineBindingModel model); MedicineViewModel? Insert(MedicineBindingModel model);
/// <summary> /// <summary>
/// Редактирование элемента /// Редактировать элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
MedicineViewModel? Update(MedicineBindingModel model); MedicineViewModel? Update(MedicineBindingModel model);
/// <summary> /// <summary>
/// Удаление элемента /// Удалить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
MedicineViewModel? Delete(MedicineBindingModel model); MedicineViewModel? Delete(MedicineBindingModel model);
} }
} }

View File

@ -14,45 +14,45 @@ namespace HospitalContracts.StoragesContracts
/// </summary> /// </summary>
public interface IPatientStorage public interface IPatientStorage
{ {
/// <summary> /// <summary>
/// Получение полного списка /// Получить полный список
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
List<PatientViewModel> GetFullList(); List<PatientViewModel> GetFullList();
/// <summary> /// <summary>
/// Получение фильтрованного списка /// Получить фильтрованный список
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
List<PatientViewModel> GetFilteredList(PatientSearchModel model); List<PatientViewModel> GetFilteredList(PatientSearchModel model);
/// <summary> /// <summary>
/// Получение элемента /// Получить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
PatientViewModel? GetElement(PatientSearchModel model); PatientViewModel? GetElement(PatientSearchModel model);
/// <summary> /// <summary>
/// Добавление элемента /// Добавить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
PatientViewModel? Insert(PatientBindingModel model); PatientViewModel? Insert(PatientBindingModel model);
/// <summary> /// <summary>
/// Редактирование элемента /// Редактировать элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
PatientViewModel? Update(PatientBindingModel model); PatientViewModel? Update(PatientBindingModel model);
/// <summary> /// <summary>
/// Удаление элемента /// Удалить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
PatientViewModel? Delete(PatientBindingModel model); PatientViewModel? Delete(PatientBindingModel model);
} }
} }

View File

@ -14,45 +14,45 @@ namespace HospitalContracts.StoragesContracts
/// </summary> /// </summary>
public interface IProcedureStrorage public interface IProcedureStrorage
{ {
/// <summary> /// <summary>
/// Получение полного списка /// Получить полный список
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
List<ProcedureViewModel> GetFullList(); List<ProcedureViewModel> GetFullList();
/// <summary> /// <summary>
/// Получение фильтрованного списка /// Получить фильтрованный список
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
List<ProcedureViewModel> GetFilteredList(ProcedureSearchModel model); List<ProcedureViewModel> GetFilteredList(ProcedureSearchModel model);
/// <summary> /// <summary>
/// Получение элемента /// Получить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
ProcedureViewModel? GetElement(ProcedureSearchModel model); ProcedureViewModel? GetElement(ProcedureSearchModel model);
/// <summary> /// <summary>
/// Добавление элемента /// Добавить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
ProcedureViewModel? Insert(ProcedureBindingModel model); ProcedureViewModel? Insert(ProcedureBindingModel model);
/// <summary> /// <summary>
/// Редактирование элемента /// Редактировать элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
ProcedureViewModel? Update(ProcedureBindingModel model); ProcedureViewModel? Update(ProcedureBindingModel model);
/// <summary> /// <summary>
/// Удаление элемента /// Удалить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
ProcedureViewModel? Delete(ProcedureBindingModel model); ProcedureViewModel? Delete(ProcedureBindingModel model);
} }
} }

View File

@ -14,45 +14,45 @@ namespace HospitalContracts.StoragesContracts
/// </summary> /// </summary>
public interface IRecipeStorage public interface IRecipeStorage
{ {
/// <summary> /// <summary>
/// Получение полного списка /// Получить полный список
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
List<RecipeViewModel> GetFullList(); List<RecipeViewModel> GetFullList();
/// <summary> /// <summary>
/// Получение фильтрованного списка /// Получить фильтрованный список
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
List<RecipeViewModel> GetFilteredList(RecipeSearchModel model); List<RecipeViewModel> GetFilteredList(RecipeSearchModel model);
/// <summary> /// <summary>
/// Получение элемента /// Получить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
RecipeViewModel? GetElement(RecipeSearchModel model); RecipeViewModel? GetElement(RecipeSearchModel model);
/// <summary> /// <summary>
/// Добавление элемента /// Добавить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
RecipeViewModel? Insert(RecipeBindingModel model); RecipeViewModel? Insert(RecipeBindingModel model);
/// <summary> /// <summary>
/// Редактирование элемента /// Редактировать элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
RecipeViewModel? Update(RecipeBindingModel model); RecipeViewModel? Update(RecipeBindingModel model);
/// <summary> /// <summary>
/// Удаление элемента /// Удалить элемент
/// </summary> /// </summary>
/// <param name="model"></param> /// <param name="model"></param>
/// <returns></returns> /// <returns></returns>
RecipeViewModel? Delete(RecipeBindingModel model); RecipeViewModel? Delete(RecipeBindingModel model);
} }
} }