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
4 replies
ASP MVC Inventory management checkout process help
Hi all, I have been working for many months in school to complete this project and am getting to the final stretch but was hoping to get some advice on my check out process. Essentially users can navigate to the items page, add items to their cart and then view the cart, edit quantitities and check out. Some items can be returned as well so checked-out items have a null field for return date that is populated with a DateTime when returned. I have not gotten the check-in function working at all and am not quite finished with check out, I still need to get validation and the cart view to work properly. I have included some of the relevant files to my use cases and would like to know if I am on the right track and how you would recommend I get this process working. Thank you again and if you are willing to voice chat please let me know.
252 replies