using System; using System.Collections.Generic; using System.Data; using System.Data.Entity; using System.Linq; using System.Net; using System.Web; using System.Web.Mvc; using EnVisage; using EnVisage.Models; using EnVisage.Code; namespace EnVisage.Controllers { public class ShowRollUpController : BaseController { // GET: /ShowRollUp/ [AreaSecurityAttribute(area = Areas.Reports, level = AccessLevel.Read)] public ActionResult Index() { var model = new ShowRollUpModel(); model.FormReport(DbContext); return View(model); } [HttpPost] [AreaSecurityAttribute(area = Areas.Reports, level = AccessLevel.Read)] public ActionResult Index(ShowRollUpModel model) { model.FormReport(DbContext); return View(model); } [HttpPost] [AreaSecurityAttribute(area = Areas.Reports, level = AccessLevel.Read)] public ActionResult Filter(ShowRollUpModel model) { model.FormReport(DbContext); return View(model); } } }