Exemplo n.º 1
0
 public UserRepository(UdemyApiWithTokenDBContext context, IOptions <TokenOptions> tokenOptions) : base(context)
 {
     this._tokenOptions = tokenOptions.Value;
 }
 public UnitOfWork(UdemyApiWithTokenDBContext context)
 {
     this.context = context;
 }
 public ProductRepository(UdemyApiWithTokenDBContext context) : base(context)
 {
 }
 public BaseRepository(UdemyApiWithTokenDBContext context)
 {
     this.context = context;
 }
Exemplo n.º 5
0
 public BaseRepository(UdemyApiWithTokenDBContext dbContext)
 {
     this._dbContext = dbContext;
 }
Exemplo n.º 6
0
 public GenericRepository(UdemyApiWithTokenDBContext context)
 {
     this.context = context;
     table        = context.Set <T>();
 }
Exemplo n.º 7
0
 public UnitOfWork(UdemyApiWithTokenDBContext dBContext)
 {
     this._dbcontext = dBContext;
 }