private CatalogModel Run(FormCollection collection, CatalogModel content) { foreach (var item in content.ReportParameters) { item.SelectedValue = collection[item.Name]; if (string.IsNullOrEmpty(item.SelectedValue)) { if (item.ParameterType.ToString().Equals("Float", StringComparison.OrdinalIgnoreCase) || item.ParameterType.ToString().Equals("Integer", StringComparison.OrdinalIgnoreCase)) { item.SelectedValue = "0"; } } } content.RunReport(Request.Url.Host); return content; }