public virtual ScaffoldViewData <T> BuildEditViewData() { var viewData = ScaffoldView.Data <T>(); AppendLookupLists(viewData); return(viewData); }
protected override ActionResult RenderIndexView(int?page) { var items = Repository.GetAll().InOrder().AsPagination(page ?? 1); return(View("Index", ScaffoldView.Data <T>().With(items))); }