//public static async Task<List<QuestionDTO>> GetQuestions(TestDTO test)
        //{
        //    List<QuestionDTO> questions = new List<QuestionDTO>();
        //    //  using()
        //    {

        //    }
        //   return questions;
        //}

        public static async Task <List <string> > AddTest(TestDTO test, TeacherDTO teacher)
        {
            List <string> Result = new List <string>();

            //  using()
            {
            }
            return(Result);
        }
        internal static async Task <TeacherDTO> Logins(string login, string password)
        {
            // TeacherDTO teacher = new TeacherDTO();
            try
            {
                TeacherDTO teacher = await proxyTeacher.LogInTeacherAsync(login, "Test");

                MessageBox.Show("You in System");
                return(teacher);
            }
            catch (Exception ex)
            {
                throw ex;
            }

            return(null);
        }
        internal static async Task <TeacherDTO> Registers(string login, string password)
        {
            TeacherDTO teacher = new TeacherDTO();

            return(teacher);
        }