示例#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;
 }
 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;
 }