public ActionResult ViewPromotionLadder(int id) { if (id > 0) { var model = new PromotionLadderService().GetPromotionLadder(id); return(View(model)); } return(View()); }
public JsonResult PromotionLaddersByPaging(DataTablesPaging request) { var view = new PromotionLadderService().GetPromotionLaddersByPaging(request); return(Json(view, JsonRequestBehavior.AllowGet)); }
public JsonResult PromotionLadders() { var items = new PromotionLadderService().GetPromotionLadders(); return(Json(items, JsonRequestBehavior.AllowGet)); }