public AppContext() { _appProfile = AppProfile.FromConfig(); _dataSourceConfig = new DataSourceConfig( _appProfile.DataSource, _appProfile.Database, _appProfile.Username, _appProfile.Password ); _addressRepository = new AddressRepository(_dataSourceConfig); _billingInfoRepository = new BillingInfoRepository(_dataSourceConfig, _addressRepository); _contactInfoRepository = new ContactInfoRepository(_dataSourceConfig); _supplierRepository = new SupplierRepository(_dataSourceConfig, _billingInfoRepository, _contactInfoRepository); _receiverRepository = new ReceiverRepository(_dataSourceConfig, _billingInfoRepository, _contactInfoRepository); _itemRepository = new InvoiceItemRepository(_dataSourceConfig); _paymentRepository = new InvoicePaymentRepository(_dataSourceConfig); _invoiceRepository = new InvoiceRepository(_dataSourceConfig, _supplierRepository, _receiverRepository, _itemRepository, _paymentRepository ); _addressService = new AddressService(_addressRepository); _billingInfoService = new BillingInfoService(_billingInfoRepository); _contactInfoService = new ContactInfoService(_contactInfoRepository); _supplierService = new SupplierService(_supplierRepository); _receiverService = new ReceiverService(_receiverRepository); _itemService = new InvoiceItemService(_itemRepository); _paymentService = new InvoicePaymentService(_paymentRepository); _invoiceService = new InvoiceService(_invoiceRepository); }
public ContactController(IContactInfoService contactInfoService, IMenuLinkService menuLinkService , IWorkContext workContext) { this._contactInfoService = contactInfoService; this._menuLinkService = menuLinkService; this._workContext = workContext; }
public ContactAdminController(ISiteService siteService, IContactInfoService cIS, IContactFormService cFS, IShapeFactory shapeFactory) { _siteService = siteService; _contactFormService = cFS; _contactInfoService = cIS; T = NullLocalizer.Instance; Shape = shapeFactory; }
public ContactController(IContactInfoService contactInfoService, IMenuLinkService menuLinkService , IMailSettingService mailSettingService , ISystemSettingService systemSettingService , ISendMailService sendMailService) { _contactInfoService = contactInfoService; _systemSettingService = systemSettingService; _sendMailService = sendMailService; }
public ContactController(IOrchardServices services, IContactInfoService cis, IContactFormService cfs, INotifier notifier, IAuthorizer auth) { Services = services; _notifier = notifier; _authorizer = auth; _cIS = cis; _cFS = cfs; T = NullLocalizer.Instance; }
public AccountService(IAddressService addressService, IRolesService rolesService, IContactInfoService contactInfoService) { this._addressService = addressService; this._rolesService = rolesService; this._contactInfoServices = contactInfoService; }
public HomeController(IHomePageSliderService homePageSliderService, ISiteIdentityService siteIdentityService, IAboutMeService aboutMeService, IContactInfoService contactInfoService, IArticleService articleService, IMessageService messageService, ICommentService commentService) { _homePageSliderService = homePageSliderService; _siteIdentityService = siteIdentityService; _aboutMeService = aboutMeService; _contactInfoService = contactInfoService; _articleService = articleService; _messageService = messageService; _commentService = commentService; }
public ContactInformationController( IContactInfoService contactInfoService , IProvinceService provinceService , ILanguageService languageService , ILocalizedPropertyService localizedPropertyService ) { this._contactInfoService = contactInfoService; this._provinceService = provinceService; this._languageService = languageService; this._localizedPropertyService = localizedPropertyService; }
public PostController( IPostService postService , IMenuLinkService menuLinkService , IGalleryService galleryService , IWorkContext workContext , IGenericControlService genericControlService , ICacheManager cacheManager, IContactInfoService contactInfoService) { _postService = postService; _menuLinkService = menuLinkService; _galleryService = galleryService; }
public SummaryController(IMenuLinkService menuLinkService , IProvinceService provinceService, IDistrictService districtService, ISystemSettingService systemSettingService , IContactInfoService contactInfoService , ISettingSeoGlobalService settingSeoGlobal , IWorkContext workContext) { this._menuLinkService = menuLinkService; this._provinceService = provinceService; this._districtService = districtService; this._systemSettingService = systemSettingService; this._contactInfoService = contactInfoService; this._settingSeoGlobal = settingSeoGlobal; this._workContext = workContext; }
public ContactInformationController( IContactInfoService contactInfoService , IProvinceService provinceService , ILanguageService languageService , ILocalizedPropertyService localizedPropertyService , ICacheManager cacheManager ) { _contactInfoService = contactInfoService; _provinceService = provinceService; _languageService = languageService; _localizedPropertyService = localizedPropertyService; //Clear cache cacheManager.RemoveByPattern(CacheContactinfoKey); }
public SummaryController(IMenuLinkService menuLinkService , IProvinceService provinceService, IDistrictService districtService, ISystemSettingService systemSettingService , IContactInfoService contactInfoService , ISettingSeoGlobalService settingSeoGlobal , IWorkContext workContext , ICacheManager cacheManager, IPostService postService, IStaticContentService staticContentService) { _menuLinkService = menuLinkService; _provinceService = provinceService; _districtService = districtService; _systemSettingService = systemSettingService; _contactInfoService = contactInfoService; _settingSeoGlobal = settingSeoGlobal; _postService = postService; _staticContentService = staticContentService; }
public ContactInformationController( IContactInfoService contactInfoService , IProvinceService provinceService , ILanguageService languageService , ILocalizedPropertyService localizedPropertyService , ICacheManager cacheManager ) { this._contactInfoService = contactInfoService; this._provinceService = provinceService; this._languageService = languageService; this._localizedPropertyService = localizedPropertyService; _cacheManager = cacheManager; //Clear cache _cacheManager.RemoveByPattern(CACHE_CONTACTINFO_KEY); }
public ShoppingCartController( IProductsService productService, IOrderService orderService, IOrderDetailsService orderDetailsService, IContactInfoService contactInfoService, IUserService userService) { Guard.WhenArgument(productService, "productService").IsNull().Throw(); Guard.WhenArgument(orderService, "orderService").IsNull().Throw(); Guard.WhenArgument(orderDetailsService, "orderDetailsService").IsNull().Throw(); Guard.WhenArgument(contactInfoService, "contactInfoService").IsNull().Throw(); Guard.WhenArgument(userService, nameof(userService)).IsNull().Throw(); this.productService = productService; this.orderService = orderService; this.orderDetailsService = orderDetailsService; this.contactInfoService = contactInfoService; this.userService = userService; }
public GoogleMapController(IContactInfoService contactInfoService) { _contactInfoService = contactInfoService; }
public ContactInfoController(IContactInfoService contactInfoService) { _contactInfoService = contactInfoService; }
public IndexrController(IContactInfoService iContactInfoService) { this._iContactInfoService = iContactInfoService; }
public SupplierController(IAddressService addressService, IContactInfoService contactInfoService) { _supplierService = new SupplierService(addressService, contactInfoService); }
public AdminMenu(IContactInfoService contactInfoService, IContactFormService contactFormService, IAuthorizer authorizer) { _contactFormService = contactFormService; _contactInfoService = contactInfoService; _authorizer = authorizer; }
public ContactController(IContactInfoService contactService, IMapper mapper) : base() { this._contactService = contactService; this._mapper = mapper; }
public ReportsController(IContactInfoService contactInfoService) { _contactInfoService = contactInfoService; }
public ContactInfoViewModel(IContactInfoService contactInfoService) { _contactInfoService = contactInfoService; }
public ContactInfoController(IContactInfoService contactInfoService, IRedisCacheService redisCacheService) { _contactInfoService = contactInfoService; _redisCacheService = redisCacheService; }
public StoreListController(IProvinceService provinceService, IContactInfoService contactInfoService) { _provinceService = provinceService; _contactInfoService = contactInfoService; }
public SupplierService(IAddressService addressService, IContactInfoService contactInfoService) { this._addressService = addressService; this._contactInfoService = contactInfoService; }
public FooterAdress(IContactInfoService contactInfoService) { _contactInfoService = contactInfoService; }
public AccountController(IAddressService addressService, IRolesService rolesService, IContactInfoService contactInfoService) { _accountService = new AccountService(addressService, rolesService, contactInfoService); }