示例#1
0
        public JsonResult GetAllDepartmentNames()
        {
            pharmacy = new Pharmacy(_userName);
            List <string> lstDepartments = pharmacy.GetAllDepartmentNames();

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