コード例 #1
0
        public ActionResult ManageProfileCollections()
        {
            var model = new ProfileCollectionGridModel
            {
                SortBy = "Sequence",
                SortAscending = true,
                CurrentPageIndex = 1,
                PageSize = 200
            };

            GetAllProfileCollections(model);

            return View(model);
        }
コード例 #2
0
 private void GetAllProfileCollections(ProfileCollectionGridModel model)
 {
     model.ProfileCollectionGrid = _reader.GetProfileCollections().OrderBy(x => x.CollectionName).ToList();
 }