Beispiel #1
0
        public virtual BOSale MapModelToBO(
            int id,
            ApiSaleRequestModel model
            )
        {
            BOSale boSale = new BOSale();

            boSale.SetProperties(
                id,
                model.Amount,
                model.FirstName,
                model.LastName,
                model.PaymentTypeId,
                model.PetId,
                model.Phone);
            return(boSale);
        }