Exemple #1
0
 public LeaveController()
 {
     handler = new DBHandler();
 }
 public int updateLeaveMethod(DBHandler handler)
 {
     //Update the selected leave using the given whole Leave obj and return 0 or 1. 0 - Failed, 1 - Success
     throw new NotImplementedException();
 }
        public User loginUser(string username, string password)
        {
            DBHandler handler = new DBHandler();

            return(handler.loginMethod(username, password));
        }