public AuthRepository(GrogerContext context) { this.context = context; userManager = new UserManager <ApplicationUser>(new UserStore <ApplicationUser>(this.context)); }
public GenericRepository(GrogerContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }