示例#1
0
        public Deal AddDeal(DealSummary dealSummary)
        {
            var savingDeal = new Deal()
            {
                CustomerID = dealSummary.CustomerID,
                VehicleId  = dealSummary.VehicleId,
                UserId     = dealSummary.UserId
            };

            return(dealRepository.AddDeal(savingDeal));
        }