Exemplo n.º 1
0
 public void SaveRequestToExcelFile(ReportBindingModel model)
 {
     SaveToExcel.CreateDoc(new ExcelInfo
     {
         FileName = model.FileName,
         Title = "Список заявок",
         RequestFlowers = GetRequestPlaces()
     });
 }
Exemplo n.º 2
0
 public void SaveOrdersToExcelFile(int clientId, string fileName)
 {
     SaveToExcel.CreateDoc(new ExcelInfo
     {
         FileName = fileName,
         Title = "Список заказов",
         RequestFlowers = null,
         Orders = GetOrders(clientId)
     });
 }