public void Configure(IServerRoutingTable serverRoutingTable) { using (var context = new PandaAppDBContext()) { context.Database.EnsureCreated(); } }
public ReceiptServices(PandaAppDBContext context) { this.context = context; }
public UserService(PandaAppDBContext pandaAppDBContext) { this.context = pandaAppDBContext; }
public PackageService(PandaAppDBContext pandaAppDBContext, IReceiptServices receiptServices) { this.db = pandaAppDBContext; this.receiptServices = receiptServices; }
public UserService(PandaAppDBContext PandaAppDBContext) { this.db = PandaAppDBContext; }
public PackagesController(IPackageService packageService, PandaAppDBContext context) { this.packageService = packageService; this.context = context; }