2024-03-15 00:47:16 +04:00
|
|
|
|
using PizzeriaContracts.BindingModels;
|
|
|
|
|
using PizzeriaContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace PizzeriaContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IReportLogic
|
|
|
|
|
{
|
|
|
|
|
List<ReportPizzaComponentViewModel> GetPizzaComponents();
|
|
|
|
|
List<ReportOrdersViewModel> GetOrders(ReportBindingModel model);
|
2024-03-15 02:21:13 +04:00
|
|
|
|
List<ReportShopsViewModel> GetShops();
|
|
|
|
|
List<ReportGroupOrdersViewModel> GetGroupedOrders();
|
2024-03-15 00:47:16 +04:00
|
|
|
|
void SavePizzasToWordFile(ReportBindingModel model);
|
|
|
|
|
void SavePizzaComponentToExcelFile(ReportBindingModel model);
|
|
|
|
|
void SaveOrdersToPdfFile(ReportBindingModel model);
|
2024-03-15 02:21:13 +04:00
|
|
|
|
void SaveShopsToWordFile(ReportBindingModel model);
|
|
|
|
|
void SaveShopsToExcelFile(ReportBindingModel model);
|
|
|
|
|
void SaveGroupedOrdersToPdfFile(ReportBindingModel model);
|
2024-03-15 00:47:16 +04:00
|
|
|
|
}
|
|
|
|
|
}
|