public async Task <IActionResult> UpdateSize([FromBody] SizeViewModel sizeVm)
        {
            var hasPermission = await _authorizationService.AuthorizeAsync(User, "SIZE", Operations.Update);

            if (hasPermission.Succeeded == false)
            {
                return(new BadRequestObjectResult(CommonConstants.Forbidden));
            }
            if (ModelState.IsValid)
            {
                _productQuantityService.UpdateSize(sizeVm);
                _productQuantityService.SaveChanges();
                return(new OkObjectResult(sizeVm.Id));
            }
            return(new BadRequestObjectResult(ModelState));
        }