public void BillingShippindAddressInitialize()
        {
            _shippingAddressRepository = new ShippingAddressRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
            _shippingAddressBL         = new ShippingAddressImpl(_shippingAddressRepository);

            _billingAddressRepository = new BillingAddressRepository(new Core.Base.Data.SqlServer.Factory.BaseContextFactory <HCRGUniversity.Core.Data.SqlServer.HCRGUniversityDBContext>());
            _billingAddressBL         = new BillingAddressImpl(_billingAddressRepository);
        }
 public ShippingPaymentService(IShippingAddress shippingAddress, IBillingAddress billingAddress, IShippingPayment shippingPayment)
 {
     _shippingAddress = shippingAddress;
     _billingAddress  = billingAddress;
     _shippingPayment = shippingPayment;
 }
 public ChangeAddressController(IShippingAddress shippingAddressRepository)
 {
     repository = shippingAddressRepository;
 }
Esempio n. 4
0
 public RegisterController(IUsers userRepository, IShippingAddress shippingAddressRepository)
 {
     userRepo = userRepository;
     sAddresRepo = shippingAddressRepository;
 }