예제 #1
0
 public void Configure(IServerRoutingTable serverRoutingTable)
 {
     using (var context = new PandaAppDBContext())
     {
         context.Database.EnsureCreated();
     }
 }
예제 #2
0
 public ReceiptServices(PandaAppDBContext context)
 {
     this.context = context;
 }
예제 #3
0
 public UserService(PandaAppDBContext pandaAppDBContext)
 {
     this.context = pandaAppDBContext;
 }
 public PackageService(PandaAppDBContext pandaAppDBContext, IReceiptServices receiptServices)
 {
     this.db = pandaAppDBContext;
     this.receiptServices = receiptServices;
 }
예제 #5
0
 public UserService(PandaAppDBContext PandaAppDBContext)
 {
     this.db = PandaAppDBContext;
 }
예제 #6
0
 public PackagesController(IPackageService packageService, PandaAppDBContext context)
 {
     this.packageService = packageService;
     this.context        = context;
 }