Exemplo n.º 1
0
        public void Charge(ICustomerPaymentService paymentService, INotificationService notificationService)
        {
            Printer.Print(ConsoleColor.Cyan);

            // do some internal logic

            paymentService.Pay(this);
            notificationService.SendEmail(Email, "Paid successfully", "bla bla bla");
        }
        public UpdateCustomerPackageService(IOrderController orderController, ISessionContext sessionContext,
                                            IEventPackageRepository eventPackageRepository, IEventTestRepository eventTestRepository,
                                            IPatientShippingDetailFactory patientShippingDetailFactory,
                                            IElectronicProductRepository electronicProductRepository, IEventCustomerRepository eventCustomerRepository,
                                            IShippingDetailOrderDetailRepository shippingDetailOrderDetailRepository, ICustomerPaymentService customerPaymentService)
        {
            _orderController              = orderController;
            _eventPackageRepository       = eventPackageRepository;
            _eventTestRepository          = eventTestRepository;
            _patientShippingDetailFactory = patientShippingDetailFactory;
            _electronicProductRepository  = electronicProductRepository;
            //  _eventCustomerRepository = eventCustomerRepository;
            _shippingDetailOrderDetailRepository = shippingDetailOrderDetailRepository;
            _customerPaymentService = customerPaymentService;

            _creatorOrganizationRoleUser = sessionContext.UserSession.CurrentOrganizationRole.OrganizationRoleUserId;
        }
Exemplo n.º 3
0
 public CustomerPaymentsController(ICustomerPaymentService customerPaymentService)
 {
     _customerPaymentService = customerPaymentService;
 }
Exemplo n.º 4
0
 public void NotifyByEmail(ICustomerPaymentService paymentService)
 {
     Printer.Print(ConsoleColor.Cyan);
     paymentService.Pay(this);
 }
 public CustomerPaymentController(ICustomerPaymentService customerPaymentService)
 {
     this._customerPaymentService = customerPaymentService;
 }
Exemplo n.º 6
0
 public void Charge(ICustomerPaymentService paymentService, INotificationService notificationService)
 {
     paymentService.Pay(this);
     notificationService.SendEmail(Email, "Paid successfully", "bla bla bla");
 }
Exemplo n.º 7
0
 public JobController(IReviewAndRatingService ReviewAndRatingService, IRequestService RequestService, ICategoryService CategoryService, ICustomerService CustomerServices,
                      IUserService UserService, IRoleService RoleService, IFormService FormService, IRoleDetailService RoleDetailService, IUserRoleService UserRoleService,
                      IAgencyIndividualService AgencyIndividualService, IAgencyJobService AgencyJobService, ICustomerLocationService CustomerLocationService, ICustomerPaymentService CustomerPaymentService)
     : base(UserService, RoleService, FormService, RoleDetailService, UserRoleService)
 {
     this._ReviewAndRatingService  = ReviewAndRatingService;
     this._CategoryService         = CategoryService;
     this._RequestService          = RequestService;
     this._UserRoleService         = UserRoleService;
     this._UserService             = UserService;
     this._CustomerService         = CustomerServices;
     this._AgencyIndividualService = AgencyIndividualService;
     this._AgencyJobService        = AgencyJobService;
     this._CustomerLocationService = CustomerLocationService;
     this._CustomerPaymentService  = CustomerPaymentService;
 }
 public PaymentServiceController(ICustomerAccountService customerAccountService, ICustomerPaymentService customerPaymentService)
 {
     _customerAccountService = customerAccountService;
     _customerPaymentService = customerPaymentService;
 }