コード例 #1
0
 public CafesController(ICafeRepository cafeRepository, ICountryRepository countryRepository, LocalizationService localizationService, IOutputCacheDependencies outputCacheDependencies)
 {
     mLocalizationService = localizationService;
     mCountryRepository = countryRepository;
     mCafeRepository = cafeRepository;
     mOutputCacheDependencies = outputCacheDependencies;
 }
コード例 #2
0
 public ContactsController(ICafeRepository cafeRepository, ISocialLinkRepository socialLinkRepository,
     IContactRepository contactRepository, IFormItemRepository formItemRepository,
     ICountryRepository countryRepository, LocalizationService localizationService, IOutputCacheDependencies outputCacheDependencies)
 {
     mLocalizationService = localizationService;
     mCountryRepository = countryRepository;
     mFormItemRepository = formItemRepository;
     mCafeRepository = cafeRepository;
     mSocialLinkRepository = socialLinkRepository;
     mContactRepository = contactRepository;
     mOutputCacheDependencies = outputCacheDependencies;
 }