public IHttpActionResult GetAllMedicine() { try { var medicines = MedicineRepository.GetAllMedicines(); return(Ok(medicines)); } catch (Exception ex) { throw (ex); } }