Пример #1
0
        /// <summary>
        /// Add method.
        /// </summary>
        /// <param name="Dealer"></param>
        /// <returns></returns>
        public Dealer Add(Dealer Dealer)
        {
            var DealerDac = new DealerDAC();

            Dealer.CreatedBy = CreatedBy;
            Dealer.CreatedOn = CreatedOn;
            Dealer.ChangedBy = ChangedBy;
            Dealer.ChangedOn = ChangedOn;
            return(DealerDac.Create(Dealer));
        }
Пример #2
0
        /// <summary>
        /// Add method.
        /// </summary>
        /// <param name="dealer"></param>
        /// <returns></returns>
        public Dealer Add(Dealer dealer)
        {
            var dealerDac = new DealerDAC();

            return(dealerDac.Create(dealer));
        }