public ActionResult PostShopPermit(ShopPermitInputDto Dto) { //Dto.CheckNotNull(nameof(Dto)); OperationResult result = ShopContract.EditShopPermits(Dto); return(Json(result.ToAjaxResult())); }
public ActionResult ShopPermit(ShopPermitInputDto Dtos) { Dtos.CheckNotNull(nameof(Dtos)); Dtos.ShopId = CurrentUser.Shop.Id; OperationResult result = ShopContract.AddShopPermits(Dtos); return(Json(result.ToAjaxResult())); }