public ActionResult ViewMerchantCustomCategory(int id) { if (id > 0) { var model = new MerchantCustomCategoryService().GetMerchantCustomCategory(id); return(View(model)); } return(View()); }
public JsonResult MerchantCustomCategorysByPaging(DataTablesPaging request) { var view = new MerchantCustomCategoryService().GetMerchantCustomCategorysByPaging(request); return(Json(view, JsonRequestBehavior.AllowGet)); }
public JsonResult MerchantCustomCategorys() { var items = new MerchantCustomCategoryService().GetMerchantCustomCategorys(); return(Json(items, JsonRequestBehavior.AllowGet)); }