Пример #1
0
 public Medicamento Delete(long id)
 {
     return(medicamentoRepository.Delete(id));
 }
 public void DeleteMedicamento(Guid id)
 {
     _repository.Delete(id);
 }
Пример #3
0
        public async Task RemoverMedicamento(Guid medicamentoId)
        {
            await _medicamentoRepository.Delete(medicamentoId);

            await _unitOfWork.CommitAsync();
        }