public void GetAllIntegrationTest()
        {
            var connection = TestSession.GetConnection();

            connection.Open();
            var selecteds = _tested.GetAll(connection);

            Assert.IsNotNull(selecteds);
            connection.Close();
        }
示例#2
0
        private async void GetAllStateProvince()
        {
            IEnumerable <StateProvince> stateEntityList = await m_stateProvinceDao.GetAll();

            IEnumerable <StateProvienceModel> stateViewModel = SResolveViewModelArray(stateEntityList);

            m_StateViewModelList = stateViewModel;

            m_view.ShowStateProvince(m_StateViewModelList);
        }