private UserRespose _RunAllChecks(string token, UserRequest request) { if (Utils.CheckToken(token) ) { return _TokenFailed(); } if (_CheckUserRequest(request)) { return _UserRequestFailed(); } return null; }
private bool _CheckUserRequest(UserRequest request) { return request == null || request.User == null; }