public JsonResult GetScores() { var scores = ObjectService.GetEntities <ScoreEntity>(); return(Json(scores, JsonRequestBehavior.AllowGet)); }
public JsonResult GetChallenges() { var challenges = ObjectService.GetEntities <ChallengeEntity>(); return(Json(challenges, JsonRequestBehavior.AllowGet)); }