create Profile Resource

open fun createProfileResource(resource: MultipartFile, resourceId: String): String

Method to create the pathname for a profile pic

Return

the pathname created for a profile pic

Parameters

resource

: the resource from create its pathname

resourceId

: the resource identifier