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
{
/// <summary>
/// Получение списка
/// Получить список
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
List<DiseaseViewModel>? ReadList(DiseaseSearchModel? model);
/// <summary>
/// Получение отдельной записи
/// Получить отдельную запись
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
DiseaseViewModel? ReadElement(DiseaseSearchModel model);
/// <summary>
/// Создание записи
/// Создать запись
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
bool Create(DiseaseBindingModel model);
/// <summary>
/// Изменение записи
/// Изменить запись
/// </summary>
/// <param name="model"></param>
/// <returns></returns>
bool Update(DiseaseBindingModel model);
/// <summary>
/// Удаление записи
/// Удалить запись
/// </summary>
/// <param name="model"></param>
/// <returns></returns>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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