// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IWebHostEnvironment env, TransferDbContext dbContext) { dbContext.Database.Migrate(); if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } // app.UseHttpsRedirection(); app.UseRouting(); app.UseAuthorization(); app.UseSwagger(); app.UseSwaggerUI(o => { o.SwaggerEndpoint("/swagger/v1/swagger.json", "Transfer Microservice V1"); }); app.UseEndpoints(endpoints => { endpoints.MapControllers(); }); ConfigureEventBus(app); }
public AccountController(TransferDbContext tdbc) { _tdbc = tdbc; }
public PartyController(TransferDbContext tdbc) { _tdbc = tdbc; }
public TransferLogNoSQLRepository(TransferDbContext ctx) { _ctx = ctx; }
public TransferRepository(TransferDbContext context) { _context = context ?? throw new ArgumentNullException(nameof(context)); }
public AccountTransferRepository(TransferDbContext dbContext) { _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext)); }
public TransferRepository(TransferDbContext db) { _db = db; }
public TransferRepository(TransferDbContext dbContext) { _dbContext = dbContext; }
public TransferRepository(TransferDbContext tdc) { _tdc = tdc; }
public TransferRepository(TransferDbContext transferDb) { _transferDb = transferDb; }
public TransferRepository(TransferDbContext _ctx) { ctx = _ctx; }
public TransferRepository(TransferDbContext transferDbContext) { this.transferDbContext = transferDbContext; transferLogs = transferDbContext.Set <TransferLog>(); }
public EmployeeTransferRepository(TransferDbContext context) { _context = context; }
public TransferRepository(TransferDbContext transferDbContext) { _transferDbContext = transferDbContext; }
public TransferController(TransferDbContext context) { _context = context; }
public TransferRepository(TransferDbContext context) { _context = context; }
public TransferRepository(TransferDbContext transferContext) { _ctx = transferContext; }
public GeneralRepository(TransferDbContext DbContext) { this.DbContext = DbContext; }
public TransferRepository(TransferDbContext ctx) { _ctx = ctx; _ctx.Database.EnsureCreated(); }
public TransferRepository(TransferDbContext ctx) { _ctx = ctx; }
public TransferLogDAL(TransferDbContext ctx) { _ctx = ctx; }