feat: вфыв
This commit is contained in:
@@ -31,3 +31,15 @@ async def create(
|
||||
request: CreatePositionRequest
|
||||
):
|
||||
return await PositionService(session).create(request)
|
||||
|
||||
|
||||
@position_router.post(
|
||||
'/delete',
|
||||
operation_id='delete_position',
|
||||
response_model=DeletePositionResponse
|
||||
)
|
||||
async def delete(
|
||||
session: SessionDependency,
|
||||
request: DeletePositionRequest
|
||||
):
|
||||
return await PositionService(session).delete(request)
|
||||
|
||||
Reference in New Issue
Block a user