Пример #1
0
 public PartialViewResult ReportViewerPartial(int promotionId)
 {
     PromotionModel.ExportModel model = new PromotionModel.ExportModel()
     {
         PromotionId = promotionId,
         Report      = GetReport(promotionId)
     };
     return(PartialView(model));
 }
Пример #2
0
 public ActionResult Export(int promotionId)
 {
     PromotionModel.ExportModel model = new PromotionModel.ExportModel()
     {
         PromotionId = promotionId,
         Report      = new XtraReport()
     };
     return(View("Print", model));
 }