public ActionResult Index()
        {
            BaseballView baseballView = new BaseballView(_queryBuilder);

            baseballView.ConstructView();

            return View(baseballView);
        }
        public ActionResult Query(string sortTerm, string sortDir, string facets, string searchTerm)
        {
            _queryBuilder.SearchTerm = searchTerm;
            if (!string.IsNullOrEmpty(facets))
            {
                facets.Split(',').ToList().ForEach(f =>
                                                       {
                                                           string[] keyVal = f.Split('^');
                                                           _queryBuilder.AppliedFacets.Add(new Tuple<string, string>(keyVal[0], keyVal[1]));
                                                       });

            }
            _queryBuilder.CurrentSortTerm = sortTerm;
            _queryBuilder.SortDirection = sortDir;

            BaseballView baseballView = new BaseballView(_queryBuilder);
            baseballView.ConstructView();

            return View(baseballView);
        }