public MedicationTest() { medicationDao = new MedicationDAO(); medicationService = new MedicationService(); }
public MedicationController() { medicationService = new MedicationService(); }
public ActionResult GetShellLife(int id) { string expDate = new MedicationService().GetShellLifeInDays(id).ToShortDateString(); return Json(new { FinalDate = expDate }); }