예제 #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();
        }
예제 #2
0
 public ItemRepository(GREEN_CARDContext db)
 {
     _db = db;
 }
예제 #3
0
 public PlayerRepository(GREEN_CARDContext db)
 {
     _db = db;
 }
예제 #4
0
 public ReceiptRepository(GREEN_CARDContext db)
 {
     _db = db;
 }
예제 #5
0
 public SkaterStatisticRepository(GREEN_CARDContext db)
 {
     _db = db;
 }
 public TransactionRepository(GREEN_CARDContext db)
 {
     _db = db;
 }