示例#1
0
 public HomeController(IConfiguration iconfig, ApplicationDbContext identityContext, ScoutFieldLogDbContext context, StartupMatchDbContext smDBcontext, SignInManager <IdentityUser> signInManager)
 {
     _context         = context;
     _identityContext = identityContext;
     _signInManager   = signInManager;
     DAL          = new SeamlessDAL(iconfig);
     startupMatch = new StartupMatch(smDBcontext);
 }
 public SeamlessController(IConfiguration configuration, InsightsDbContext context)
 {
     _seamlessDAL = new SeamlessDAL(configuration.GetSection("APIKeys")["SeamlessAPIKey"]);
     _context     = context;
 }
 public InvestmentsController(IConfiguration configuration, InvestmentsDbContext context)
 {
     sd       = new SeamlessDAL(configuration);
     _context = context;
 }
示例#4
0
 public SeamlessAPIController(IConfiguration Configuration)
 {
     DAL = new SeamlessDAL(Configuration);
 }
示例#5
0
 public HomeController(IConfiguration configuration)
 {
     sd = new SeamlessDAL(configuration);
 }