예제 #1
0
        public bool Get(Guid id)
        {
            Item item;
            var  result = inventory.BuyItem(id, out item);

            if (result)
            {
                this.purchaseHistory.AddEntry(User.Identity.Name, item);
            }
            return(result);
        }