public async Task <IActionResult> AddShopAttr(ShopAttrEntity entity) { if (ModelState.IsValid) { var data = await shopService.AddShopAttr(entity); return(Json(data)); } return(Json(ParrNoPass())); }