public ActionResult ManageProfileCollections() { var model = new ProfileCollectionGridModel { SortBy = "Sequence", SortAscending = true, CurrentPageIndex = 1, PageSize = 200 }; GetAllProfileCollections(model); return(View(model)); }
private void GetAllProfileCollections(ProfileCollectionGridModel model) { model.ProfileCollectionGrid = _reader.GetProfileCollections().OrderBy(x => x.CollectionName).ToList(); }