public static bool IsNotifiedBittrix(long userId, string name, TypeNotice type)
 {
     return(_noticesBittrix.Any(x => x.Name == name && x.UserId == userId && x.Type == type));
 }
 public static bool IsNotifiedCoinMarket(long userId, string name, TypeNotice type)
 {
     return(_noticesCoinMarket.Any(x => x.Name == name && x.UserId == userId && x.Type == type));
 }
示例#3
0
 public Notice(long uerdId, string name, TypeNotice type)
 {
     UserId = uerdId;
     Name   = name;
     Type   = type;
 }