FillSubsequencesViewData() public method

Fills subsequences calculation data dictionary.
public FillSubsequencesViewData ( int minimumSelectedMatters, int maximumSelectedMatters, string submitName ) : object>.Dictionary
minimumSelectedMatters int /// The minimum Selected Matters. ///
maximumSelectedMatters int /// The maximum Selected Matters. ///
submitName string /// The submit button name. ///
return object>.Dictionary
        /// <summary>
        /// The index.
        /// </summary>
        /// <returns>
        /// The <see cref="ActionResult"/>.
        /// </returns>
        public ActionResult Index()
        {
            using (var db = new LibiadaWebEntities())
            {
                var viewDataHelper = new ViewDataHelper(db);
                ViewBag.data = JsonConvert.SerializeObject(viewDataHelper.FillSubsequencesViewData(1, int.MaxValue, "Calculate"));
            }

            return View();
        }
 /// <summary>
 /// The index.
 /// </summary>
 /// <returns>
 /// The <see cref="ActionResult"/>.
 /// </returns>
 public ActionResult Index()
 {
     var viewDataHelper = new ViewDataHelper(db);
     ViewBag.data = JsonConvert.SerializeObject(viewDataHelper.FillSubsequencesViewData(2, 2, "Align"));
     return View();
 }