public IEnumerable <JenisBiayaModel> ListData() { // REPO-OP var result = _jenisBiayaDal.ListData(); // RETURN return(result); }
public void ListData_Test() { using (var trans = TransHelper.NewScope()) { // arrange var expected = new List <JenisBiayaModel> { JenisBiayaSample() }; _sut.Insert(JenisBiayaSample()); // act var actual = _sut.ListData(); // assert actual.Should().BeEquivalentTo(expected); } }
public IEnumerable <JenisBiayaModel> ListData() { return(_jenisBiayaDal.ListData()); }