As far as I understand MVVM, the operations (CRUD) should happen inside the model but the operations triggered from a view into the view -model, should happen inside the view-model only.
In this case, when I hit the login button, the login function which checks the Username and Password should be there in the MVVMCAuthenticateViewModel and not inside MVVMCAuthenticateModel. Could you please take out some time and see what I am referring to? Overall wonderful lecture in the video, it cleared a lot of my doubts.
As far as I understand MVVM, the operations (CRUD) should happen inside the model but the operations triggered from a view into the view -model, should happen inside the view-model only.
In this case, when I hit the login button, the login function which checks the Username and Password should be there in the MVVMCAuthenticateViewModel and not inside MVVMCAuthenticateModel. Could you please take out some time and see what I am referring to? Overall wonderful lecture in the video, it cleared a lot of my doubts.