public ServPosts( IMapper mapper, IMemoryCache cache, IRepoPosts repoPosts, IRepoAuthors repoAuthors, IServUserSession userSession, IOptions <MySettings> options) { _mapper = mapper; _cache = cache; _repoPosts = repoPosts; _repoAuthors = repoAuthors; _userSession = userSession; _pagerSettings = options.Value.PagerSettings; }
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; }