Closed altumcon closed 3 years ago
Hi @altumcon - you will get more help with this kind of issue on StackOverflow. Good luck. 👍
Hi @altumcon ,
Not sure if you're able to make it work. But I'll just share what I had on my side. I had a similar code with you. But I changed a little on the controller side. By removing the (Name="")
[HttpPost] [Route("updateuserprofilecommand")] public async Task<ActionResult<int>> UpdateUserProfileCommand([FromForm] UpdateUserProfileCommand command) { return await Mediator.Send(command); }
below is the sample payload:
Can any one please show me how to use ifromfile to upload images. As in my controller when I call for Ifromfile Its returns null. Is there any specification I missing or what? Below is my code for controller, command and command handler controller:
command
command handler
I am using NSwag v13.6.1 Please help me.I am really stuck in this