diff --git a/Polyclinic/PolyclinicContracts/BusinessLogicsContracts/ISuretorReportLogic.cs b/Polyclinic/PolyclinicContracts/BusinessLogicsContracts/ISuretorReportLogic.cs new file mode 100644 index 0000000..affce17 --- /dev/null +++ b/Polyclinic/PolyclinicContracts/BusinessLogicsContracts/ISuretorReportLogic.cs @@ -0,0 +1,40 @@ +using PolyclinicContracts.BindingModels; +using PolyclinicContracts.ViewModels; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace PolyclinicContracts.BusinessLogicsContracts +{ + public interface ISuretorReportLogic + { + /// + /// Получение списка компонент с указанием, в каких изделиях используются + /// + /// + List GetProcedureCourses(); + /// + /// Получение списка заказов за определенный период + /// + /// + /// + List GetProcedures(ReportBindingModel model); + /// + /// Сохранение компонент в файл-Word + /// + /// + void SaveCoursesByProcedureToWordFile(ReportBindingModel model); + /// + /// Сохранение компонент с указаеним продуктов в файл-Excel + /// + /// + void SaveCoursesByProcedureToExcelFile(ReportBindingModel model); + /// + /// Сохранение заказов в файл-Pdf + /// + /// + void SaveOrdersToPdfFile(ReportBindingModel model); + } +} diff --git a/Polyclinic/PolyclinicContracts/ViewModels/ReportCoursesByProcedures.cs b/Polyclinic/PolyclinicContracts/ViewModels/ReportCoursesByProcedureViewModel.cs similarity index 86% rename from Polyclinic/PolyclinicContracts/ViewModels/ReportCoursesByProcedures.cs rename to Polyclinic/PolyclinicContracts/ViewModels/ReportCoursesByProcedureViewModel.cs index ed74567..7362ded 100644 --- a/Polyclinic/PolyclinicContracts/ViewModels/ReportCoursesByProcedures.cs +++ b/Polyclinic/PolyclinicContracts/ViewModels/ReportCoursesByProcedureViewModel.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; namespace PolyclinicContracts.ViewModels { - public class ReportCoursesByProcedures + public class ReportCoursesByProcedureViewModel { public string Name { get; set; } = string.Empty; public List<(int countDays, int pillsPerDay, string comment)> Courses = new();