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

            return(null);
        }