public LeaderBoardItem[] GetLeaderBoardDetails(string strCenterID) { LeaderBoardResponse objLeaderBoardResponse = EvaluationEngine.GetLeaderBoard(strCenterID); return(objLeaderBoardResponse.LeaderBoard.ToArray()); //return EvaluationEngine.GetLeaderBoard(strCenterID).ToArray(); }
public void GetLeaderBoard() { PathManager.Initialize(Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Data")); int intLeaderBoardCount = 0; intLeaderBoardCount = EvaluationEngine.GetLeaderBoard("001").LeaderBoard.Count; Assert.LessOrEqual(12, intLeaderBoardCount); }
public LeaderBoardItem[] GetLeaderBoardDetails(string strCenterID) { return(EvaluationEngine.GetLeaderBoard(strCenterID).ToArray()); }