public ActionResult Detail() { int userId = (int)Session["userId"]; reportAlertService = new ReportAlertService(); List <ReportAlertModel> reportAlertModels; reportAlertModels = reportAlertService.GetModels(userId); return(View(VIEW_DETAIL, reportAlertModels)); }
public ActionResult DetailPartial() { int userId = (int)Session["userId"]; reportAlertService = new ReportAlertService(); List <ReportAlertModel> reportAlertModels; reportAlertModels = reportAlertService.GetModels(userId); return(PartialView(VIEW_FORM_PARTIAL, reportAlertModels)); }