Example #1
0
 public UserRepository(TagsterDbContext tagsterDb)
 {
     _tagsterDb = tagsterDb;
     _users     = tagsterDb.Users;
 }
Example #2
0
 public RefreshTokenRepository(TagsterDbContext tagsterDb)
 {
     _tagsterDb     = tagsterDb;
     _refreshTokens = tagsterDb.RefreshTokens;
 }
Example #3
0
 public TagsRepository(TagsterDbContext tagsterDb)
 {
     _tagsterDb = tagsterDb;
     _profiles  = tagsterDb.Profiles;
     _tags      = tagsterDb.Tags;
 }
Example #4
0
 public AdminService(TagsterDbContext context) => _context = context;