public CreateLoanHandler(IGTLContext context, ILoanRepository loanRepo, ILoanHelper loanHelper, ICopyRepository copyRepo) { _loanRepo = loanRepo; _loanHelper = loanHelper; _copyRepo = copyRepo; _context = context; }
public IntegrationBase() { var server = new TestServer(new WebHostBuilder() .ConfigureAppConfiguration(config => config.AddJsonFile("appsettings.test.json", optional: true, reloadOnChange: true)) .UseStartup <Startup>()); _mediator = server.Host.Services.GetRequiredService <IMediator>(); _context = server.Host.Services.GetRequiredService <IGTLContext>(); ScriptRunner.ResetDatabase(); }
public CopyRepository(IGTLContext context) { _context = context; }
public MemberRepository(IGTLContext context) { _context = context; }
public StaffRepository(IGTLContext context) { Context = context; }
public LoanerCardRepository(IGTLContext context) { _context = context; }
public LibraryRepository(IGTLContext context) { _context = context; }