public HttpResponseMessage GetMyActiveGames(string sessionKey) { var response = this.PerformOperation(() => { var userId = UsersRepository.LoginUser(sessionKey); var activeGames = GamesRepository.GetActiveGames(userId); return(activeGames); }); return(response); }