public static ReportCustom_ReportModel GetReportModel(int Report_Id = 0) { var service = new ReportCustomService(); ReportCustom_ReportModel reportModels; reportModels = service.GetReportCustom_Report(Report_Id); return(reportModels); }
public ActionResult DetailPartial() { int userId = (int)Session["userId"]; reportCustomService = new ReportCustomService(); List <ReportCustomModel> reportCustomModels; reportCustomModels = reportCustomService.GetModels(userId); return(PartialView(VIEW_FORM_PARTIAL, reportCustomModels)); }
public ActionResult Detail() { int userId = (int)Session["userId"]; reportCustomService = new ReportCustomService(); List <ReportCustomModel> reportCustomModels; reportCustomModels = reportCustomService.GetModels(userId); return(View(VIEW_DETAIL, reportCustomModels)); }