public bool CreateOrUpdate([FromBody] MaterialReq req) { long shopId = HttpContext.User.Identity.ShopId(); return(materialService.CreateOrUpdate(shopId, req)); }