protected Report GetReport(string report) { var r = CoreExtensions.GetReport(report); r.Setup(DbContext, User, Auth); foreach (var field in r.Fields) { if (Request.QueryString.AllKeys.Contains(field.UniqueName)) { field.PropertyInfo.SetValue(r, new ActionMapper(DbContext).Map(r, field, field.PropertyType, Request.QueryString.Get(field.UniqueName))); } } return(r); }