Exemplo n.º 1
0
 public ActionResult Index(int page = 1)
 {
     var list = Repository.Users.OrderBy(p => p.ID);
     var data = new PageableData<User>();
     data.Init(list, page, "Index");
     data.List.ForEach(p => p.CurrentLang = CurrentLang.ID);
     return View(data);
 }