SaeedP
Well-known member
- Joined
- Oct 21, 2020
- Messages
- 116
- Programming Experience
- 3-5
Hello,
Are the last parts of this code wrong?
I see red lines under some parts.
I doing this project in Blazor.
And then:
Thanks,
Saeed
Are the last parts of this code wrong?
I see red lines under some parts.
I doing this project in Blazor.
my code:
public string resultMessage {get;set;}
var result = await _instaApi.UploadVideoAsync(mediaVideo, mediaImage,VideoUpload.captionVideo);
resultMessage = (result.Succeeded ?$ "Media created: {result.Value.Pk},{result.Value.Caption}"
: $"Unable to upload video: {reult.Info.Message}");
And then:
C#:
<p>result:@resultMessage</p>
Thanks,
Saeed