public async Task <IActionResult> BorrarAlerta(Guid alertaId) { var borrado = await _alertaRepository.BorrarAlerta(alertaId); if (!borrado) { return(NotFound()); } return(NoContent()); }
public async Task <IActionResult> BorrarAlerta(Guid alertaId) { var borrado = await _alertaRepository.BorrarAlerta(alertaId); if (!borrado) { return(NotFound()); } return(NoContent()); }