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

            return(new CommandExit(true, "Enfermeiros Deletado com sucesso", null));
        }