public ActionResult AddMedicine(MedicineView medicine) { pharmacy = new Pharmacy(_userName); pharmacy.AddMedicine(medicine); return(RedirectToAction("ViewAllMedicines", "Home")); }
public ActionResult AddMedicine(MedicineView medicine) { pharmacy = new Pharmacy(_userName); pharmacy.AddMedicine(medicine); return(RedirectToAction("ViewAllMedicines", "Home")); }