public HttpResponseMessage GetIndividualGames(int id) { Result <List <Game> > res = gameBusiness.FilterByCategoryAndCompetitionType(id, CompetitorType.Individual); HttpResponseMessage response = res.Success ? Request.CreateResponse(HttpStatusCode.OK, res.Data) : Request.CreateResponse(HttpStatusCode.InternalServerError, res.Message); return(response); }