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