// This method gets called by the runtime. Use this method to configure the HTTP request pipeline. public void Configure(IApplicationBuilder app, IHostingEnvironment env, GREEN_CARDContext db) { if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); } app.UseGraphiQl(); app.UseMvc(); db.EnsureSeedData(); }
public ItemRepository(GREEN_CARDContext db) { _db = db; }
public PlayerRepository(GREEN_CARDContext db) { _db = db; }
public ReceiptRepository(GREEN_CARDContext db) { _db = db; }
public SkaterStatisticRepository(GREEN_CARDContext db) { _db = db; }
public TransactionRepository(GREEN_CARDContext db) { _db = db; }