public async Task <ICommandExit> Delete(Guid Id) { await Task.Factory.StartNew(() => { _nurseRepository.Delete(Id); }); return(new CommandExit(true, "Registro Deletado Com Successo", null)); }
public void DeleteNurse(Nurse Nurse) { _repository.Delete(Nurse); }