Exemple #1
0
        //Das lauft mit nit normale TextBox
        //public bool CanLogIn(string userName, string password)
        //{
        //    bool output = false;
        //    if (userName.Length > 0 && password.Length > 0)
        //    {
        //        output = true;
        //    }

        //    return output;
        //}

        public void LogIn()
        {
            //var apiHelper = new  APIServices.APIHelper();

            try
            {
                var token = _apiHelper.Authentication(UserName, Password);
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.Message);
            }
        }