public JsonResult GetDataToSelect(string key) { var obj = new FACULTY_BUS(); var model = obj.GetFacultyList(key); return(Json(model)); }
public JsonResult GetDataByKey(string key) { var obj = new FACULTY_BUS(); var model = obj.GetFacultyList(key); return(Json(new { data = model })); }