Exemple #1
0
        /// <summary>
        /// private method to create route data from a SearchCriteria object
        /// used to pass search criteria in url
        /// </summary>
        /// <returns>the created RouteValueDictionary</returns>
        public RouteValueDictionary GetRVD(SearchCriteria criteria)
        {
            var dict = criteria.GetDictionnary();
            var rvd = new RouteValueDictionary(dict);

            return rvd;
        }