public Medicine GetMedicineById(int id)
 {
     return(_medicineRepository.GetSingleByPredicate(x => x.Id == id));
 }