示例#1
0
        public ActionResult Index(int?page, string FName)
        {
            var x = new StaffBL();

            if (FName != null)
            {
                return(View(x.SearchByName(FName)));
            }
            else
            {
                return(View(x.GetAllStaff()));
            }
        }
示例#2
0
        public string GetStaff()
        {
            Function fun = new Function();

            return(fun.DataTableToJSONWithJSONNet(sbl.GetAllStaff()));
        }