public ActionResult UpdateItemSubCategory(ItemSubCategoryDTO Isc) { var c = posMasters.UpdateItemSubCategory(Isc); return(new JsonResult { Data = c, JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }
public ActionResult DeleteItemSubCategory(ItemSubCategoryDTO Isc) { bool c = posMasters.DeleteItemSubCategory(Isc.SubCategoryId); return(new JsonResult { Data = c, JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }
public ActionResult SaveItemSubCategory(ItemSubCategoryDTO Isc) { Isc.statusid = 1; Isc.createdby = Convert.ToInt64(Session["UserId"]); int isSaved = posMasters.SaveItemSubCategory(Isc); return(new JsonResult { Data = isSaved, JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }