Beispiel #1
0
        public JsonResult GetAllMedicineNames()
        {
            pharmacy = new Pharmacy(_userName);
            List <string> lstMedicines = pharmacy.GetAllMedicineNames();

            return(this.Json(lstMedicines, JsonRequestBehavior.AllowGet));
        }