public FilterBoxModel(string controlName, string filterActionName, StringDictionary dictionary) { ControlName = controlName; FilterActionName = filterActionName; Dictionary = dictionary; RouteValues = new List <KeyValuePair <string, object> >(); DateFrom = null; DateTo = null; ShowDatesFilter = DateTimeSearchControlType.None; }
public FilterBoxModel(string controlName, string filterActionName, StringDictionary dictionary, DateTimeSearchControlType showDatesFilter) : this(controlName, filterActionName, dictionary) { ShowDatesFilter = showDatesFilter; }