Exemple #1
0
        public string Transport(int itemPos, User user, string channel)
        {
            _inventoryRepository.RemoveItem(user, itemPos);

            _slack.InviteUser(user.Id, channel);

            return(string.Empty);
        }
Exemple #2
0
        public override string Use(int itemPos, User user, string channel)
        {
            _slack.InviteUser(user.Id, CoffeeChannel);

            return(base.Use(itemPos, user, channel));
        }