public ActionResult AssignPending() { var m = new PromotionModel(); UpdateModel(m); m.AssignPending(); return RedirectToAction("Index"); }
public ActionResult List() { var m = new PromotionModel(); UpdateModel(m); return PartialView("List", m); }
public ActionResult Index() { var m = new PromotionModel(); UpdateModel(m); return View(m); }
public ActionResult Export() { var m = new PromotionModel(); UpdateModel(m); return new ExcelResult(m.Export(), "promotion.xls"); }
public ActionResult List(PromotionModel m) { return View("List", m); }
public ActionResult AssignPending(PromotionModel m) { m.AssignPending(); return RedirectToAction("Index"); }
public ActionResult Reload(PromotionModel m) { return Redirect("/Promotion"); }
public ActionResult Export() { var m = new PromotionModel(); UpdateModel(m); return new ExcelResult { Data = m.Export(), FileName = "promotion.xls" }; }