Example #1
0
        public bool DeleteMedicine(MedicineDto medicine)
        {
            var entity = _DtoMapper.Map(medicine);

            return(_MedicineRepository.Delete(entity));
        }
Example #2
0
 public Medicine Map(MedicineDto medicine) => _Mapper.Map <Medicine>(medicine);