示例#1
0
        public ActionResult PostShopPermit(ShopPermitInputDto Dto)
        {
            //Dto.CheckNotNull(nameof(Dto));
            OperationResult result = ShopContract.EditShopPermits(Dto);

            return(Json(result.ToAjaxResult()));
        }
示例#2
0
        public ActionResult ShopPermit(ShopPermitInputDto Dtos)
        {
            Dtos.CheckNotNull(nameof(Dtos));

            Dtos.ShopId = CurrentUser.Shop.Id;
            OperationResult result = ShopContract.AddShopPermits(Dtos);

            return(Json(result.ToAjaxResult()));
        }