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)); }
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)); }