コード例 #1
0
    public ContentPageController(
        IUnitOfWorkAsync unitOfWorkAsync,
        ISettingService settingService,
        ICategoryService categoryService,
        IListingService listingService,
        ICustomFieldService customFieldService,
        ICustomFieldCategoryService customFieldCategoryService,
        IContentPageService contentPageService,
        IContentPageRoleService contentPageRoleService,
        IOrderService orderService,
        ISettingDictionaryService settingDictionaryService,
        IEmailTemplateService emailTemplateService,
        DataCacheService dataCacheService,
        SqlDbService sqlDbService)
    {
      _settingService = settingService;
      _settingDictionaryService = settingDictionaryService;

      _categoryService = categoryService;
      _listingService = listingService;
      _customFieldService = customFieldService;
      _customFieldCategoryService = customFieldCategoryService;

      _orderService = orderService;

      _emailTemplateService = emailTemplateService;
      _contentPageService = contentPageService;
      _contentPageRoleService = contentPageRoleService;
      _unitOfWorkAsync = unitOfWorkAsync;
      _dataCacheService = dataCacheService;
      _sqlDbService = sqlDbService;
    }
コード例 #2
0
 public HomeController(
     ICategoryService categoryService,
     IListingService listingService,
     IContentPageService contentPageService,
     IContentPageRoleService contentPageRoleService,
     ICustomFieldCategoryService customFieldCategoryService,
     IMetaFieldService metaFieldService)
 {
     _categoryService            = categoryService;
     _listingService             = listingService;
     _contentPageService         = contentPageService;
     _contentPageRoleService     = contentPageRoleService;
     _customFieldCategoryService = customFieldCategoryService;
     _metaFieldService           = metaFieldService;
 }