public JsonResult getAvg() { try { return(Json(playerRepo.getAvg())); } catch (Exception ex) { logError(ex); return(Json(null)); } }