コード例 #1
0
        public ActionResult FeatureSet(FeatureSetListModel model)
        {
            int totalRecords = 0;

            model.FeatureSet   = featureSetService.GetAll(long.MaxValue).Select(x => new FeatureSetModel(x)).ToList();
            model.TotalRecords = totalRecords;
            return(View(model));
        }
コード例 #2
0
        public ActionResult FeatureSet(long Id, string message = "")
        {
            ViewBag.ErrorMessage = message;
            FeatureSetListModel model = new FeatureSetListModel();

            AuthenticationHelper.CompanyId   = Id;
            AuthenticationHelper.CompanyName = AuthenticationHelper.CompanyList.Where(x => x.Id == Id).Select(x => x.Name).FirstOrDefault();
            return(View(model));
        }