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