Exemplo n.º 1
0
        /// <summary>
        /// Adds the active offer.
        /// </summary>
        /// <param name="offer">The offer.</param>
        private void AddActiveOffer(OfferViewModel offer)
        {
            this._activeOffers.Add(offer);
            this.ActiveOffer.Active = true;

            if (offer.Equals(this.ActiveOffer))
            {
                this.SendToLifeBulb(this.ActiveOffer.Event);
            }
        }