event and service sendpoints added
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
from fastapi import APIRouter, Depends
|
||||
|
||||
from ApiControllers.abstracts.default_validations import CommonHeaders
|
||||
from ApiControllers.providers.token_provider import TokenProvider
|
||||
|
||||
from Controllers.Postgres.pagination import PaginateOnly, Pagination, PaginationResult
|
||||
from Controllers.Postgres.response import EndpointResponse
|
||||
from Schemas import (
|
||||
Services,
|
||||
Employees,
|
||||
Event2Employee,
|
||||
Users,
|
||||
Events,
|
||||
Service2Events,
|
||||
Applications,
|
||||
Application2Employee,
|
||||
Application2Occupant,
|
||||
)
|
||||
from Validations.application.validations import (
|
||||
RequestApplication,
|
||||
)
|
||||
|
||||
# Create API router
|
||||
service_management_route = APIRouter(
|
||||
prefix="/managements/service", tags=["Service Management"]
|
||||
)
|
||||
Reference in New Issue
Block a user