C
C#2mo 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
WEIRD FLEX
WEIRD FLEX2mo ago
i would try return Ok(Confirmation(...)); but i don't use views
Mrguy235
Mrguy2352mo ago
Hm, interesting I actually think I found another way, I did return View()