private bool InGoodBase <T>(StdInputs si) { si.Route = Request.Path.Value; si.PersonId = PersonId; if (si.SearchParameters != null && si.SearchParameters.Count > 0) { foreach (var row in si.SearchParameters) { string realField = new Models.Helpers.FindRealName().FromJson <T>(row.Column); if (realField == "") { ErrorResponse.Errors.Add ( $"{row.Column} : Invalid search parameter" ); } row.Column = realField; } } return(ErrorResponse.Success); }
internal bool InGood <T>(StdInputs si) { InGoodBase <T>(si); return(ErrorResponse.Success); }