Exemple #1
0
        public ScanTestResultForm()
        {
            InitializeComponent();

            var client = new TestRailClient("https://accela.testrail.net/", "*****@*****.**", "Change_2017");
            var users  = client.GetUsers();

            TestrailUserDic.Clear();
            foreach (var user in users)
            {
                TestrailUserDic.Add(user.ID, user);
            }
        }
        public List <User> GetUsers()
        {
            var user = _apiClient.GetUsers();

            return(user);
        }