public ActionResult GetJsonDispatchersFromDepartment(string department) { var data = new SelectList(QueryUtility.GetDispatchersFromDepartment(department, db), "Id", "UserName").ToList(); return(Json(data)); }
public ActionResult GetJsonDispatchersFromDepartment(string department) { var data = new SelectList(QueryUtility.GetDispatchersFromDepartment(department, db), "Id", "UserName").ToList(); return(Json(data)); }