backend::service::users

Function create

source
pub async fn create(
    user_id: Uuid,
    user_data: UsersDto,
    pool: &SharedPool,
) -> Result<UsersDto, ServiceError>
Expand description

Create a user data entry for a new user.

ยงErrors

If the connection to the database could not be established.