backend::service::base_layer_images

Function create

source
pub async fn create(
    dto: BaseLayerImageDto,
    pool: &SharedPool,
) -> Result<BaseLayerImageDto, ServiceError>
Expand description

Create a base layer image in the database.

ยงErrors

If the connection to the database could not be established.