public IEnumerable <CryptoTrigger> GetUserTriggers(string type, long telegramUserId) { switch (type) { case "price": return(_triggerRepository.GetUserTriggers <PriceCryptoTrigger>(telegramUserId)); } return(null); }
public IEnumerable <CryptoTrigger> GetUserTriggers(string type, long telegramUserId) { switch (type) { case "price": return(_triggerRepository.GetUserTriggers <PriceCryptoTrigger>(telegramUserId)); } return(null); }