Result icon indicating copy to clipboard operation
Result copied to clipboard

ToResultAction() not showing as an option for a variable of type Result

Open ghost opened this issue 4 years ago • 2 comments

For some reason, I am unable to use ToActionResult() on a Result type in a controller class that inherits from ControllerBase. It's not an option in Intellisense.

But it's available on the controller instance if I use this syntax: this.ToActionResult(test). I am referencing Ardalis.Result.AspNetCore in the file.

What am I missing?

result

ghost avatar Nov 18 '21 22:11 ghost

This happens for me as well. Using dotnet 6.

ffMathy avatar Nov 28 '21 16:11 ffMathy

This works in the sample app with latest code: image

It's net6.0.

ardalis avatar Feb 09 '22 23:02 ardalis