Пример #1
0
 public BusinessDependencies(ISiteContextService siteContextService, ICompanyRepository companyRepository, ISocialLinkRepository socialLinkRepository, ICultureService cultureService, IMenuRepository menuRepository)
 {
     SiteContextService   = siteContextService;
     CompanyRepository    = companyRepository;
     SocialLinkRepository = socialLinkRepository;
     CultureService       = cultureService;
     MenuRepository       = menuRepository;
 }
 public ContactsController(ICafeRepository cafeRepository, ISocialLinkRepository socialLinkRepository,
                           IContactRepository contactRepository, ICountryRepository countryRepository)
 {
     mCountryRepository    = countryRepository;
     mCafeRepository       = cafeRepository;
     mSocialLinkRepository = socialLinkRepository;
     mContactRepository    = contactRepository;
 }
 public CompanyController(ISocialLinkRepository socialLinkRepository,
                          IContactRepository contactRepository,
                          ICountryRepository countryRepository,
                          IPageAttachmentUrlRetriever attachmentUrlRetriever)
 {
     this.countryRepository      = countryRepository;
     this.socialLinkRepository   = socialLinkRepository;
     this.contactRepository      = contactRepository;
     this.attachmentUrlRetriever = attachmentUrlRetriever;
 }
Пример #4
0
 public ContactsController(ICafeRepository cafeRepository, ISocialLinkRepository socialLinkRepository,
                           IContactRepository contactRepository, IFormItemRepository formItemRepository,
                           ICountryRepository countryRepository, IOutputCacheDependencies outputCacheDependencies)
 {
     mCountryRepository       = countryRepository;
     mFormItemRepository      = formItemRepository;
     mCafeRepository          = cafeRepository;
     mSocialLinkRepository    = socialLinkRepository;
     mContactRepository       = contactRepository;
     mOutputCacheDependencies = outputCacheDependencies;
 }
Пример #5
0
 public ContactsController(ICafeRepository cafeRepository, ISocialLinkRepository socialLinkRepository,
     IContactRepository contactRepository, IFormItemRepository formItemRepository,
     ICountryRepository countryRepository, IOutputCacheDependencies outputCacheDependencies)
 {
     mCountryRepository = countryRepository;
     mFormItemRepository = formItemRepository;
     mCafeRepository = cafeRepository;
     mSocialLinkRepository = socialLinkRepository;
     mContactRepository = contactRepository;
     mOutputCacheDependencies = outputCacheDependencies;
 }
Пример #6
0
 public BusinessDependencies(
     IMenuRepository menuRepository,
     ICompanyRepository companyRepository,
     ICultureRepository cultureRepository,
     ISiteContextService siteContextService,
     ISocialLinkRepository socialLinkRepository,
     ICacheService cacheDependencyService
     )
 {
     MenuRepository       = menuRepository;
     CompanyRepository    = companyRepository;
     CultureRepository    = cultureRepository;
     SiteContextService   = siteContextService;
     SocialLinkRepository = socialLinkRepository;
     CacheService         = cacheDependencyService;
 }
Пример #7
0
 public BusinessDependencies(
     IMenuRepository menuRepository,
     ICompanyRepository companyRepository,
     ICultureService cultureService,
     ISiteContextService siteContextService,
     ISocialLinkRepository socialLinkRepository,
     ICacheService cacheDependencyService,
     IErrorHelperService errorHelperService,
     ILocalizationService localizationService
     )
 {
     MenuRepository       = menuRepository;
     CompanyRepository    = companyRepository;
     CultureService       = cultureService;
     SiteContextService   = siteContextService;
     SocialLinkRepository = socialLinkRepository;
     CacheService         = cacheDependencyService;
     ErrorHelperService   = errorHelperService;
     LocalizationService  = localizationService;
 }
Пример #8
0
 public SocialLinksController(ISocialLinkRepository repo) => SocialLinkRepository = repo;
Пример #9
0
 public NavController(IImageRepository ImageRepository,
                      ISocialLinkRepository SocialLinkRepository)
 {
     this.ImageRepository      = ImageRepository;
     this.SocialLinkRepository = SocialLinkRepository;
 }