public async Task <IActionResult> Delete(int id) { if (!ModelState.IsValid) { return(BadRequest(ModelState)); } await _empresaRepositorio.Borrar(id); return(Ok(id)); }