C
C#10mo ago
Mrguy235

async method, the return expression must be of type 'IActionResult' rather than 'Task>

I have here: https://paste.mod.gg/rivtkdibgyvj/0 the controller, this error occurs on line 170 and I am not sure how I can go about fixing it
BlazeBin - rivtkdibgyvj
A tool for sharing your source code with the world!
2 Replies
FestivalDelGelato
i would try return Ok(Confirmation(...)); but i don't use views
Mrguy235
Mrguy235OP10mo ago
Hm, interesting I actually think I found another way, I did return View()

Did you find this page helpful?