public ProfileModel(
     IAuthManager authManager,
     IServUserSession userSession)
 {
     _authManager = authManager;
     _userSession = userSession;
 }
Example #2
0
 public ServAuthorsRows(
     IMemoryCache cache,
     IServUserSession sessionUser)
 {
     _cache       = cache;
     _sessionUser = sessionUser;
 }
Example #3
0
 public IndexModel(
     IAuthManager authManager,
     IServUserSession userSession)
 {
     _authManager = authManager;
     _userSession = userSession;
 }
 public ServStartItemsCash(
     IMemoryCache cache,
     IServUserSession userSession)
 {
     _cache       = cache;
     _userSession = userSession;
 }
 /// <summary>
 /// конструктор модели, принимающий вышеуказанный сервис
 /// </summary>
 public AddItemModel(
     IServUserSession userSession,
     IServStartItemsCash startItems,
     IServAuthorsRows rowsCash)
 {
     _userSession = userSession;
     _startItems  = startItems;
     _rowsCash    = rowsCash;
 }
Example #6
0
 public ServAppUsers(
     IMapper mapper,
     IRepoAppUsers appUsers,
     IServUserSession userSession,
     IOptions <MySettings> options)
 {
     _mapper        = mapper;
     _appUsers      = appUsers;
     _userSession   = userSession;
     _pagerSettings = options.Value.PagerSettings;
 }
Example #7
0
 public AuthManager(
     IMapper mapper,
     IRepoAppUsers appUsers,
     IServUserSession userSession,
     IOptions <SecurityCreds> options)
 {
     _mapper       = mapper;
     _appUsers     = appUsers;
     _userSession  = userSession;
     _sessDuration = options.Value.SessionDuration;
 }
Example #8
0
 public IndexModel(
     IServAppUsers appUsers,
     IServUserSession userSession,
     IServStartItemsCash startItems,
     IServAuthorsRows rowsCash)
 {
     _appUsers    = appUsers;
     _userSession = userSession;
     _startItems  = startItems;
     _rowsCash    = rowsCash;
 }
Example #9
0
 public ServBooks(
     IMapper mapper,
     IMemoryCache cache,
     IRepoBooks repoBooks,
     IRepoAuthors repoAuthors,
     IServUserSession userSession,
     IOptions <MySettings> options)
 {
     _mapper        = mapper;
     _cache         = cache;
     _repoBooks     = repoBooks;
     _repoAuthors   = repoAuthors;
     _userSession   = userSession;
     _pagerSettings = options.Value.PagerSettings;
 }
Example #10
0
 public AddSubitemModel(
     IServStartItemsCash servStartItems,
     IServUserSession userSession,
     IServTheses servTheses,
     IServBooks servBooks,
     IServPosts servPosts,
     IMapper mapper)
 {
     _servStartItems = servStartItems;
     _userSession    = userSession;
     _servTheses     = servTheses;
     _servBooks      = servBooks;
     _servPosts      = servPosts;
     _mapper         = mapper;
 }
Example #11
0
 public SearchModel(
     IServBooks servBooks,
     IServPosts servPosts,
     IServTheses servTheses,
     IServExport servExport,
     IServEditItem servEditItem,
     IServUserSession userSession,
     IOptions <MySettings> options)
 {
     _servBooks     = servBooks;
     _servPosts     = servPosts;
     _servTheses    = servTheses;
     _servExport    = servExport;
     _servEditItem  = servEditItem;
     _userSession   = userSession;
     _pagerSettings = options.Value.PagerSettings;
 }