public async Task <int> AddSize(string sizeName)
 {
     return(await _service.AddAsync(new Size()
     {
         SizeName = sizeName
     }));
 }
 public ApiResponse CreateSize([FromBody] SizeDto dto)
 {
     try
     {
         var size = _mapper.Map <Size>(dto);
         _sizeService.AddAsync(size);
         return(new ApiResponse("Add size success", 200));
     }catch (Exception ex)
     {
         return(new ApiResponse("Can't add size", ex, 400));
     }
 }