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