public void Delete(IPegKey key) { // INPUT VALIDATION if (key is null) { throw new ArgumentException("PEGAWAI ID empty"); } // REPO-OP _pegDal.Delete(key); }
public void Delete_Test() { using (var trans = TransHelper.NewScope()) { // arrange var expected = PegTestData(); // act-assert _sut.Delete(expected); } }