Beispiel #1
0
 public IHttpActionResult GetMedicineByName(string medicineName_)
 {
     try
     {
         var medicines = MedicineRepository.GetMedicineByName(medicineName_);
         return(Ok(medicines));
     }
     catch (Exception ex)
     {
         throw (ex);
     }
 }
 public Medicine GetMedicineByName(string name)
 => _medicineRepository.GetMedicineByName(name);