public async Task <ApiResponse> DeleteSize(Guid Id)
        {
            if (Id != Guid.Empty)
            {
                var size = await _sizeService.GetByIdAsync(Id);

                await _sizeService.DeleteAsync(size);

                return(new ApiResponse("Delete size success", size, 200));
            }
            return(new ApiResponse("It's not the type of Guid id", Id, 400));
        }
        public async Task <ActionResult> DeleteConfirmed(int Id)
        {
            if (await _sizeService.DeleteAsync(Id) == false)
            {
                return(new HttpStatusCodeResult(HttpStatusCode.BadRequest, "Edit error"));
            }

            return(RedirectToAction("Index"));
        }