public string UploadLabelIcon(IFormFile labelIcon, string id) { string imageName = "labelicons/" + id; AzureBlobServiceProvider azureBlob = new AzureBlobServiceProvider(); return(azureBlob.UploadFileToBlob(imageName, labelIcon)); }
//COMMON METHODS public string UploadProfileImage(IFormFile profileImage, string id) { string imageName = "profileimages/" + id; AzureBlobServiceProvider azureBlob = new AzureBlobServiceProvider(); return(azureBlob.UploadFileToBlob(imageName, profileImage)); }
public string UploadSongCoverImage(IFormFile coverImage, string id) { string songName = "songcoverart/" + id; AzureBlobServiceProvider azureBlob = new AzureBlobServiceProvider(); return(azureBlob.UploadFileToBlob(songName, coverImage)); }
//COMMON METHODS public string UploadAudioFile(IFormFile audioFile, string id) { string songName = "songs/" + id; AzureBlobServiceProvider azureBlob = new AzureBlobServiceProvider(); return(azureBlob.UploadFileToBlob(songName, audioFile)); }
//COMMON METHODS public string UploadAlbumCoverImage(IFormFile coverImage, string id) { string imageName = "albumarts/" + id; AzureBlobServiceProvider azureBlob = new AzureBlobServiceProvider(); return(azureBlob.UploadFileToBlob(imageName, coverImage)); }
//COMMON METHODS public string UploadPlaylistCoverImage(IFormFile coverImage, string id) { string imageName = "playlistcovers/" + id; AzureBlobServiceProvider azureBlob = new AzureBlobServiceProvider(); return(azureBlob.UploadFileToBlob(imageName, coverImage)); }