C
C#8mo 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
Omnissiah
Omnissiah8mo ago
i would try return Ok(Confirmation(...)); but i don't use views
Mrguy235
Mrguy235OP8mo ago
Hm, interesting I actually think I found another way, I did return View()
Want results from more Discord servers?
Add your server