Example #1
0
        public async Task <IActionResult> AddShopAttr(ShopAttrEntity entity)
        {
            if (ModelState.IsValid)
            {
                var data = await shopService.AddShopAttr(entity);

                return(Json(data));
            }
            return(Json(ParrNoPass()));
        }