Exemplo n.º 1
0
 public static List <FUTItemProfit> GetFUTProfitLogs(int from, int take, FUTBuyBidType type)
 {
     using (var context = new FUTLogsDatabase())
     {
         return(context.FUTItemProfits.Where(x => x.SellTimestamp != 0 && x.Type == type).OrderByDescending(x => x.SellTimestamp).Skip(from).Take(take).ToList());
     }
 }
Exemplo n.º 2
0
 public static List <FUTSell> GetFUTSells(int from, int take, FUTBuyBidType type)
 {
     using (var context = new FUTLogsDatabase())
     {
         return(context.FUTSells.Where(x => x.Type == type).OrderByDescending(x => x.ID).Skip(from).Take(take).ToList());
     }
 }