public IdentityUnitOfWork(CESystemDbContext dbContext)
 {
     this.dbContext = dbContext;
     userManager    = new ApplicationUserManager(new UserStore <User>(dbContext));
     roleManager    = new ApplicationRoleManager(new RoleStore <ApplicationRole>(dbContext));
 }
 public CertificatesHashRepository(CESystemDbContext dbContext) : base(dbContext)
 {
 }
 protected CrudBaseRepository(CESystemDbContext dbContext)
 {
     DbContext = dbContext;
 }
 public UserRepository(CESystemDbContext dbContext, IIdentityUnitOfWork identityUnitOfWork, ICertificateRepository certificateRepository) : base(dbContext)
 {
     this.identityUnitOfWork    = identityUnitOfWork;
     this.certificateRepository = certificateRepository;
 }