public ActionResult AddDepartmentAjax(String Name) { pharmacy = new Pharmacy(_userName); pharmacy.AddDepartmentAjax(Name); return(RedirectToAction("ViewAllDepartments", "Department")); }