use crate::dto::request::{{ upper_camel operation.operationId }}Request; use argentum_rest_infrastructure::data_type::error::{HttpError, NotImplementedError}; {{#if operation.security}}use argentum_user_business::entity::user::User;{{/if}} use crate::dto::operation_response_enum::{{ upper_camel operation.operationId }}OperationResponseEnum; pub trait {{ upper_camel operation.operationId }}Trait: Send + Sync { fn handle( &self, _req: {{ upper_camel operation.operationId }}Request, {{#if operation.security}}_user: User,{{/if}} ) -> Result<{{ upper_camel operation.operationId }}OperationResponseEnum, HttpError> { Err(HttpError::NotImplemented(NotImplementedError::new())) } }