Esempio n. 1
0
        public static bool hireNewStoreOwner(string username, string storeName, string userToHire, List <string> Permissions)
        {
            aUser temp = getUser(username);

            if (temp == null || getUser(userToHire) == null)
            {
                return(false);
            }
            return(temp.hireNewStoreOwner(storeName, userToHire, convertPermission(Permissions)));
        }