예제 #1
0
        public IEnumerable <JenisArsipModel> ListData()
        {
            //      REPO-OP
            var result = _jenisArsipDal.ListData();

            //      RETURN
            return(result);
        }
예제 #2
0
        public void ListData_Test()
        {
            using (var trans = TransHelper.NewScope())
            {
                //  arrange
                var expected = new List <JenisArsipModel> {
                    JenisArsipSample()
                };
                _sut.Insert(JenisArsipSample());

                //  act
                var actual = _sut.ListData();

                //  assert
                actual.Should().BeEquivalentTo(expected);
            }
        }