public async Task <IActionResult> UploadFileAsync([FromBody] ProductImageRequest productImageRequest) { try { var fileName = await _azureStorageService.UploadFile(productImageRequest.ImageBase64); await _productBusiness.AddProductFileAsync(fileName, productImageRequest.ProductId); return(Ok()); } catch (Exception e) { return(BadRequest(e.ToString())); } }