public ServTheses(
     IMapper mapper,
     IMemoryCache cache,
     IRepoTheses repoTheses,
     IRepoAuthors repoAuthors,
     IServUserSession userSession,
     IOptions <MySettings> options)
 {
     _mapper        = mapper;
     _cache         = cache;
     _repoTheses    = repoTheses;
     _repoAuthors   = repoAuthors;
     _userSession   = userSession;
     _pagerSettings = options.Value.PagerSettings;
 }
Exemple #2
0
 public ServEditItem(
     IMapper mapper,
     IServBooks servBooks,
     IServPosts servPosts,
     IServTheses servTheses,
     IRepoBooks repoBooks,
     IRepoPosts repoPosts,
     IRepoTheses repoTheses,
     IRepoAuthors repoAuthors)
 {
     _mapper      = mapper;
     _servBooks   = servBooks;
     _servPosts   = servPosts;
     _servTheses  = servTheses;
     _repoBooks   = repoBooks;
     _repoPosts   = repoPosts;
     _repoTheses  = repoTheses;
     _repoAuthors = repoAuthors;
 }