I have a basic layout of Model, View & Controller classes. I don't know how to pass the control from the View, to the Controller after setting the username and password in the Model. I want to pass the model which i have set using username and password to an authenticate method in controller. Cant figure it out.
Also, I want to have four different methods in controller
Method 1 - authenticate
Method 2 - Add
Method 2 - Delete
Method 3 - Update