public async Task <IActionResult> UploadFile(IFormFile file)
        {
            var response = new Response();

            if (file == null || file.Length == 0)
            {
                return(BadRequest(response.AddError("O arquivo enviando é inválido!")));
            }

            if (file.ContentType.Equals("application/vnd.ms-excel") ||
                file.ContentType.Equals("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"))
            {
                var _readExcelService = new ReadExcelService(file);
                response = await _readExcelService.OpenExcelFile();
            }
            else
            {
                response.AddError("O Formato de arquivo informado é inválido");
            }

            if (response.Errors.Any())
            {
                return(BadRequest(response.Errors));
            }

            var products          = (ICollection <CreateProductCommand>)response.Result;
            var createImportation = new CreateImportationCommand
            {
                Products          = products,
                TotalItems        = products.Count,
                LessDeliveredDate = products.OrderBy(pr => pr.DeliveredOn).FirstOrDefault().DeliveredOn
            };
            var result = await _mediator.Send(createImportation);

            return(Ok(result));
        }