public async Task <ActionResult> Delete(int id) { var response = await repository.Delete(id); if (!response) { return(NotFound()); } return(Ok()); }
public Especialidad Delete(Especialidad item) { return(_EspecialidadRepository.Delete(item)); }
public bool Delete(int id) { return(especialidadRepository.Delete(id)); }