Esempio n. 1
0
 public UnitOfWork(BackeameContext context)
 {
     this.context = context;
 }
 public AuthRepository(BackeameContext ctx)
 {
     _ctx         = ctx;
     _userManager = new UserManager <Backer>(new UserStore <Backer>(_ctx));
 }
 public BackerRepository(BackeameContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <Backer>();
 }
Esempio n. 4
0
 public GenericRepository(BackeameContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <TEntity>();
 }
 public ProjectRepository(BackeameContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <Project>();
 }