public ActionResult DeleteRestaurantLocation(RestaurantLocationDTO RestaurantLoc) { var c = mmsMasters.DeleteRestaurantLocation(RestaurantLoc.RecordId); return(new JsonResult { Data = c, JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }
public ActionResult UpdateRestaurantLocation(RestaurantLocationDTO ResLoc) { int Cnt = mmsMasters.UpdateRestaurantLocation(ResLoc); return(new JsonResult { Data = Cnt, JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }
public ActionResult SaveRestaurantLocation(RestaurantLocationDTO RestaurantLoc) { RestaurantLoc.statusid = 1; RestaurantLoc.createdby = Convert.ToInt64(Session["UserId"]); int Count = mmsMasters.SaveRestaurantLocation(RestaurantLoc); return(new JsonResult { Data = Count, JsonRequestBehavior = JsonRequestBehavior.AllowGet }); }