コード例 #1
0
 public RefundRequestController(IRepository <RefundRequest> repository, ISessionContext sessionContext, ISettings settings, IRefundRequestService refundRequestService, IEventCustomerService eventCustomerService, ILogManager logManager,
                                IPaymentController paymentController, ICustomerRepository customerRepository, IElectronicProductRepository electronicProductRepository, IOrderRepository orderRepository, IEmailNotificationModelsFactory emailNotificationModelsFactory,
                                IOrderController orderController, IChargeCardRepository chargeCardRepository, IOrganizationRoleUserRepository orgRoleUserRepository, IConfigurationSettingRepository configurationSettingRepository, INotifier notifier,
                                IRefundRequestRepository refundRequestRepository, IEventAppointmentCancellationLogRepository eventAppointmentCancellationLogRepository)
 {
     _repository                     = repository;
     _sessionContext                 = sessionContext;
     _isEccEnabled                   = settings.IsEccEnabled;
     _pageSize                       = settings.DefaultPageSizeForReports;
     _refundRequestService           = refundRequestService;
     _eventCustomerService           = eventCustomerService;
     _paymentController              = paymentController;
     _customerRepository             = customerRepository;
     _electronicProductRepository    = electronicProductRepository;
     _orderRepository                = orderRepository;
     _chargeCardRepository           = chargeCardRepository;
     _orderController                = orderController;
     _notifier                       = notifier;
     _configurationSettingRepository = configurationSettingRepository;
     _orgRoleUserRepository          = orgRoleUserRepository;
     _emailNotificationModelsFactory = emailNotificationModelsFactory;
     _logger = logManager.GetLogger <Global>();
     _refundRequestRepository = refundRequestRepository;
     _eventAppointmentCancellationLogRepository = eventAppointmentCancellationLogRepository;
 }
コード例 #2
0
        public void Setup()
        {
            var autoMapperBootstrapper = new AutoMapperBootstrapper();

            autoMapperBootstrapper.Bootstrap();

            DependencyRegistrar.RegisterDependencies();
            _eventCustomerService = IoC.Resolve <IEventCustomerService>();
        }
コード例 #3
0
        public OfficeLocationController(IAgentService AgentService, IEventCustomerService EventCustomerService, IEventService EventService, ITipService TipService, IPropertyService PropertyService, IPropertyImageService PropertyImageService, IFeedBackService FeedBackService, ICompanyService CompanyService, ICountryService CountryService, IStateService StateService, ICityService CityService, IOfficeLocationService OfficeLocationService, ICustomerService CustomerService, IUserService UserService, IFormService FormService, IRoleDetailService RoleDetailService, IRoleService RoleService, IUserRoleService UserRoleService)
            : base(CustomerService, UserService, RoleService, FormService, RoleDetailService, UserRoleService)
        {
            this._CustomerService       = CustomerService;
            this._UserService           = UserService;
            this._UserRoleService       = UserRoleService;
            this._OfficeLocationService = OfficeLocationService;
            this._CompanyService        = CompanyService;
            this._CountryService        = CountryService;
            this._StateService          = StateService;
            this._CityService           = CityService;

            this._AgentService         = AgentService;
            this._EventCustomerService = EventCustomerService;
            this._EventService         = EventService;
            this._CountryService       = CountryService;
            this._TipService           = TipService;
            this._PropertyService      = PropertyService;
            this._PropertyImageService = PropertyImageService;
        }
コード例 #4
0
 public EventController(INotification Notification, ICustomerService CustomerService, IEventCustomerService EventCustomerService, IEventService EventService, IUserService UserService, IRoleService RoleService, IFormService FormService, IRoleDetailService RoleDetailService, IRoleService _RoleService, IUserRoleService UserroleService, IPropertyImageService PropertyImageService, IPropertyService PropertyService, ICompanyService CompanyService)
     : base(CustomerService, UserService, RoleService, FormService, RoleDetailService, UserroleService)
 {
     this._CompanyService       = CompanyService;
     this._PropertyService      = PropertyService;
     this._PropertyImageService = PropertyImageService;
     this._CustomerService      = CustomerService;
     this._EventService         = EventService;
     this._EventCustomerService = EventCustomerService; //Notification
     this._Notification         = Notification;         //
 }