Exemplo n.º 1
0
        // 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();
        }
Exemplo n.º 2
0
 public ItemRepository(GREEN_CARDContext db)
 {
     _db = db;
 }
Exemplo n.º 3
0
 public PlayerRepository(GREEN_CARDContext db)
 {
     _db = db;
 }
Exemplo n.º 4
0
 public ReceiptRepository(GREEN_CARDContext db)
 {
     _db = db;
 }
Exemplo n.º 5
0
 public SkaterStatisticRepository(GREEN_CARDContext db)
 {
     _db = db;
 }
 public TransactionRepository(GREEN_CARDContext db)
 {
     _db = db;
 }