public ActionResult List()
        {
            using (var db = new XkSystem.Models.DbContext())
            {
                var vm = new Models.Program.List();
                var tb = from p in db.TableRoot <Admin.Entity.tbProgram>()
                         select p;
                if (string.IsNullOrEmpty(vm.SearchText) == false)
                {
                    tb = tb.Where(d => d.ProgramName.Contains(vm.SearchText));
                }

                vm.ProgramList = (from p in tb
                                  orderby p.No
                                  select p).ToList();
                return(View(vm));
            }
        }
 public ActionResult List(Models.Program.List vm)
 {
     return(Code.MvcHelper.Post(null, Url.Action("List", new { searchText = vm.SearchText })));
 }