예제 #1
0
 private void _view_LoadData(object sender, EventArgs e)
 {
     using (new WaitCursorHandler())
     {
         if (_view.ListDataGrid != null)
         {
             _listObjs    = _services.GetAll().ToList();
             _bindingView = new BindingListView <TipeModel>(_listObjs);
             _view.ListDataGrid.DataSource = _bindingView;
         }
     }
 }
예제 #2
0
        public void ShouldReturnListOfModels()
        {
            var listModels = _services.GetAll().ToList();

            Assert.NotEmpty(listModels);

            TestsHelper.WriteListModels(_testOutputHelper, listModels);
        }