public SqlServerContactRepository(
     ContactsMgmtContext db,
     ContactsMgmtIdentityContext idDb,
     IMapper mapper)
     : base(db, idDb, mapper)
 {
 }
 public RepositoryBase(ContactsMgmtContext db, ContactsMgmtIdentityContext idDb, IMapper mapper)
 //public RepositoryBase(ContactsMgmtContext db, ContactsMgmtIdentityContext idDb)
 {
     Db     = db;
     IdDb   = idDb;
     Mapper = mapper;
 }
예제 #3
0
 public SqlServerUserRepository(
     ContactsMgmtContext db,
     ContactsMgmtIdentityContext idDb,
     IMapper mapper,
     IOptions <JwtConfiguration> options,
     UserManager <ApplicationUser> userMgr,
     RoleManager <ApplicationRole> roleMgr,
     SignInManager <ApplicationUser> signInMgr)
     : base(db, idDb, mapper)
 {
     _jwtConfig = options.Value;
     _userMgr   = userMgr;
     _roleMgr   = roleMgr;
     _signInMgr = signInMgr;
 }
예제 #4
0
 public RepositoryBase(ContactsMgmtContext db, ContactsMgmtIdentityContext idDb, IMapper mapper)
 {
     _db     = db;
     _idDb   = idDb;
     _mapper = mapper;
 }