public bool DeleteMedicine(MedicineDto medicine) { var entity = _DtoMapper.Map(medicine); return(_MedicineRepository.Delete(entity)); }
public Medicine Map(MedicineDto medicine) => _Mapper.Map <Medicine>(medicine);