Exemple #1
0
        public async Task <ICommandExit> Delete(Guid Id)
        {
            await Task.Factory.StartNew(() =>
            {
                _nurseRepository.Delete(Id);
            });

            return(new CommandExit(true, "Registro Deletado Com Successo", null));
        }
Exemple #2
0
 public void DeleteNurse(Nurse Nurse)
 {
     _repository.Delete(Nurse);
 }