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

            Assert.NotEmpty(listModels);

            TestsHelper.WriteListModels(_testOutputHelper, listModels);
        }