public static Ranking getRankingByStatusId(int statusID) { try { Ranking ranking = OCRC.getAllRankings().Where(item => item.statusID == statusID).FirstOrDefault(); return(ranking); } catch (Exception e) { throw; } }
public static List <Ranking> getAllRankings() { return(OCRC.getAllRankings()); }