Ejemplo n.º 1
0
 public CategoryRepository(ApiWithTokenDBContext context) : base(context)
 {
 }
Ejemplo n.º 2
0
 public UnitOfWork(ApiWithTokenDBContext context)
 {
     this.context = context;
 }
Ejemplo n.º 3
0
 public ProductService(ApiWithTokenDBContext context, IProductRepository productRepository, IUnitOfWork unitOfWork)
 {
     this.productRepository = productRepository;
     this.unitOfWork        = unitOfWork;
 }
Ejemplo n.º 4
0
 public Repository(ApiWithTokenDBContext context)
 {
     this.context = context;
     table        = context.Set <T>();
 }
 public BaseRepository(ApiWithTokenDBContext context)
 {
     this.context = context;
 }
Ejemplo n.º 6
0
 public UserRepository(ApiWithTokenDBContext context, IOptions <TokenOptions> tokenOptions) : base(context)
 {
     this.tokenOptions = tokenOptions.Value;
 }
Ejemplo n.º 7
0
 public GenericRepositories(ApiWithTokenDBContext context) : base(context)
 {
     //this.context = context;
     table = context.Set <T>();
 }
Ejemplo n.º 8
0
 public ProductRepository(ApiWithTokenDBContext context) : base(context)
 {
 }
 public UserRepository(ApiWithTokenDBContext context, IOptions <TokenOptions> tokenOptions)
 {
     this.tokenOptions = tokenOptions.Value;
     this.context      = context;
 }