Example #1
0
        private static void OptionFive(Gestor pObjGestor, UIMenuPrincipal pMenuP)
        {
            AdminPassword(pObjGestor, pMenuP);
            int UserId2 = pMenuP.GetUserIdDemo();

            pObjGestor.UnblockClientAccs(UserId2);
        }
Example #2
0
        private static void OptionTwo(Gestor pObjGestor, UIMenuPrincipal pMenuP)
        {
            AdminPassword(pObjGestor, pMenuP);
            int UserId = pMenuP.GetUserIdDemo();

            if (pObjGestor.ClientExists(UserId))
            {
                var mValues = pMenuP.ModifyDemo();
                pObjGestor.ModifyMethodDemo(UserId, mValues[1], mValues[2], int.Parse(mValues[0]), int.Parse(mValues[3]));
            }
            else
            {
                Console.WriteLine("No user found with that I.D.");
            }
        }
Example #3
0
 private static void OptionThree(Gestor pObjGestor, UIMenuPrincipal pMenuP)
 {
     AdminPassword(pObjGestor, pMenuP);
     pMenuP.DisplayUserInfoDemo(pObjGestor.GetUserInfo(pMenuP.GetUserIdDemo()));
 }