feat: Updates api controllers to use database client.

This commit is contained in:
2025-01-14 13:10:24 -05:00
parent ccf80f05a7
commit 31c6b51371
17 changed files with 313 additions and 303 deletions

View File

@@ -3,10 +3,10 @@ import Vapor
struct ApiController: RouteCollection {
func boot(routes: any RoutesBuilder) throws {
// try routes.register(collection: EmployeeApiController())
// try routes.register(collection: PurchaseOrderApiController())
try routes.register(collection: EmployeeApiController())
try routes.register(collection: PurchaseOrderApiController())
try routes.register(collection: UserApiController())
// try routes.register(collection: VendorApiController())
// try routes.register(collection: VendorBranchApiController())
try routes.register(collection: VendorApiController())
try routes.register(collection: VendorBranchApiController())
}
}