Beispiel #1
0
 public LinkViewModelService(IAsyncRepository <Link> linkRepository,
                             ICertificateRepository certificateRepository,
                             ICachedPublicViewModelService cacheService)
 {
     _linkRepository        = linkRepository;
     _certificateRepository = certificateRepository;
     _cacheService          = cacheService;
 }
 public PublicViewModelService(ICachedPublicViewModelService cacheService,
                               IStringLocalizer <SharedResource> localizer,
                               IStageService stageService,
                               IFilterService filterService,
                               IPageService pageService)
 {
     _cacheService  = cacheService;
     _localizer     = localizer;
     _stageService  = stageService;
     _filterService = filterService;
     _pageService   = pageService;
 }
 public CertificateViewModelService(ICertificateRepository repository,
                                    IStringLocalizer <SharedResource> localizer,
                                    ICachedPublicViewModelService cacheService,
                                    IStageService stageService,
                                    IFilterService filterService,
                                    IPageService pageService)
 {
     _repository    = repository;
     _localizer     = localizer;
     _cacheService  = cacheService;
     _stageService  = stageService;
     _filterService = filterService;
     _pageService   = pageService;
 }