Bulky
Bulky copied to clipboard
May I know the reason of not using async code?
In all controller, you didn't use async code. May I know why? I have heard async would be better thing than sync. I want to know why.
I thing async programming it is harder to understand for newbies. You can make your code async once you figured it out.
Repository and UnitOfWork are out of scope for beginners as well, async is essential compared to design patterns.
I am thinking it makes no reason to worry about that now. You don't have to use async so he did not. I would liked to have seen it too but for a beginner course this covers so much
The main reason he did not use async is that he was using repository patterns, which made the need for it useless. You mad about this when you can actually just make it an async method yourself by adding async to the post actions and then adding await when getting stuff back