добавила исполнителю в Program зависимости
This commit is contained in:
parent
58fbf0ac08
commit
4f3243bb1c
@ -64,7 +64,7 @@ namespace PolyclinicBusinessLogic.BusinessLogics
|
|||||||
return list;
|
return list;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<ReportProceduresViewModel> GetProcedures(ReportBindingModel model)
|
public List<ReportProceduresViewModel> GetProceduresByMedicametsAndSymptoms(ReportBindingModel model)
|
||||||
{
|
{
|
||||||
var procedures = procedureStorage.GetFullList();
|
var procedures = procedureStorage.GetFullList();
|
||||||
var medicaments = medicamentStorage.GetFullList();
|
var medicaments = medicamentStorage.GetFullList();
|
||||||
@ -108,7 +108,7 @@ namespace PolyclinicBusinessLogic.BusinessLogics
|
|||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void SaveOrdersToPdfFile(ReportBindingModel model)
|
public void SaveProceduresToPdfFile(ReportBindingModel model)
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
|
@ -12,30 +12,34 @@ namespace PolyclinicContracts.BusinessLogicsContracts
|
|||||||
public interface ISuretorReportLogic
|
public interface ISuretorReportLogic
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Получение данных (списка) курсов - ну он получается один по выбранным процедурам
|
/// Получение данных (списка) курсов по выбранным процедурам
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
List<ReportCoursesByProcedureViewModel> GetProcedureCourses(ProcedureSearchModel model);
|
List<ReportCoursesByProcedureViewModel> GetProcedureCourses(ProcedureSearchModel model);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Получение списка заказов за определенный период
|
/// Получение списка процедур
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="model"></param>
|
/// <param name="model"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
List<ReportProceduresViewModel> GetProcedures(ReportBindingModel model);
|
List<ReportProceduresViewModel> GetProceduresByMedicametsAndSymptoms(ReportBindingModel model);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Сохранение компонент в файл-Word
|
/// Сохранение курсов по процедурам в файл-Word
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="model"></param>
|
/// <param name="model"></param>
|
||||||
void SaveCoursesByProcedureToWordFile(ReportBindingModel model);
|
void SaveCoursesByProcedureToWordFile(ReportBindingModel model);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Сохранение компонент с указаеним продуктов в файл-Excel
|
/// Сохранение курсов по процедурам в файл-Excel
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="model"></param>
|
/// <param name="model"></param>
|
||||||
void SaveCoursesByProcedureToExcelFile(ReportBindingModel model);
|
void SaveCoursesByProcedureToExcelFile(ReportBindingModel model);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Сохранение заказов в файл-Pdf
|
/// Сохранение заказов в файл-Pdf
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="model"></param>
|
/// <param name="model"></param>
|
||||||
void SaveOrdersToPdfFile(ReportBindingModel model);
|
void SaveProceduresToPdfFile(ReportBindingModel model);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,14 @@ builder.Services.AddTransient<IDiagnoseStorage, DiagnoseStorage>();
|
|||||||
builder.Services.AddTransient<ICourseStorage, CourseStorage>();
|
builder.Services.AddTransient<ICourseStorage, CourseStorage>();
|
||||||
builder.Services.AddTransient<ISymptomStorage, SymptomStorage>();
|
builder.Services.AddTransient<ISymptomStorage, SymptomStorage>();
|
||||||
|
|
||||||
|
builder.Services.AddTransient<IProcedureLogic, ProcedureLogic>();
|
||||||
|
builder.Services.AddTransient<IMedicamentLogic, MedicamentLogic>();
|
||||||
|
builder.Services.AddTransient<IRecipeLogic, RecipeLogic>();
|
||||||
|
|
||||||
|
builder.Services.AddTransient<IProcedureStorage, ProcedureStorage>();
|
||||||
|
builder.Services.AddTransient<IMedicamentStorage, MedicamentStorage>();
|
||||||
|
builder.Services.AddTransient<IRecipeStorage, RecipeStorage>();
|
||||||
|
|
||||||
var app = builder.Build();
|
var app = builder.Build();
|
||||||
|
|
||||||
// Configure the HTTP request pipeline.
|
// Configure the HTTP request pipeline.
|
||||||
|
Loading…
Reference in New Issue
Block a user