Exemple #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;
 }
 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;
 }
 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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #8
0
 public SocialLinksController(ISocialLinkRepository repo) => SocialLinkRepository = repo;
Exemple #9
0
 public NavController(IImageRepository ImageRepository,
                      ISocialLinkRepository SocialLinkRepository)
 {
     this.ImageRepository      = ImageRepository;
     this.SocialLinkRepository = SocialLinkRepository;
 }