public BaseResponse <AgeAverageScoreResult> AgeAverageScore(AgeAverageScoreParameter parameter) { if (Validate(parameter)) { return(scoreManager.AgeAverageScore(parameter)); } else { BaseResponse <AgeAverageScoreResult> response = new BaseResponse <AgeAverageScoreResult>(); response.IsSuccessful = false; response.Reason = "JWT_ERR"; return(response); } }