public string UploadVideoFile(Stream file) { var videoCompression = new VideoCompression(); var compressedFile = videoCompression.CompressFile(file); var fileUploader = new FileUploader(); var id = fileUploader.UploadToServer(compressedFile); return(fileUploader.GetURL(id)); }