public async Task <IActionResult> Delete(int FornecedorId)
        {
            try
            {
                var empresa = await _service.GetByIdAsync(FornecedorId);

                if (empresa == null)
                {
                    return(NotFound());
                }

                return(Ok(_service.DeleteByIdAsync(empresa.Id)));
            }
            catch (ArgumentException ex)
            {
                return(StatusCode((int)HttpStatusCode.InternalServerError, ex.Message));
            }
        }