Exemplo n.º 1
0
        public OrderBLL(int company, int totalPrice, int pickupBranch, int returnBranch, DateTime pickupDate, DateTime returnDate, int carId, List <Extention> extetions, searchBLL search, person person, creaditCardBLL creaditCard, string notes)
        {
            Company         = company;
            this.totalPrice = totalPrice;
            PickupBranch    = pickupBranch;
            ReturnBranch    = returnBranch;
            PickupDate      = pickupDate;
            ReturnDate      = returnDate;
            CarId           = carId;

            this.extetions   = extetions;
            Search           = search;
            this.person      = person;
            this.creaditCard = creaditCard;
            this.notes       = notes;
        }
Exemplo n.º 2
0
        public editOrderBll(int company, int totalPrice, int pickupBranch, int returnBranch, DateTime pickupDate, DateTime returnDate, int carId, List <Extention> extetions, searchBLL search, person person, creaditCardBLL creaditCard, string orderId, string notes) : base(company, totalPrice, pickupBranch, returnBranch, pickupDate, returnDate, carId, extetions, search, person, creaditCard, notes)
        {
            Company         = company;
            this.totalPrice = totalPrice;
            PickupBranch    = pickupBranch;
            ReturnBranch    = returnBranch;
            PickupDate      = pickupDate;
            ReturnDate      = returnDate;
            CarId           = carId;

            this.extetions   = extetions;
            Search           = search;
            this.person      = person;
            this.creaditCard = creaditCard;
            this.orderId     = orderId;
            this.externalId  = getExtIdByOrderId(orderId);
            this.notes       = notes;
        }