Exemple #1
0
        public void Delete(IJenisBiayaKey key)
        {
            //      INPUT VALIDATION
            if (key is null)
            {
                throw new ArgumentException("JENIS BIAYA ID empty");
            }

            //      REPO-OP
            _jenisBiayaDal.Delete(key);
        }
        public void Delete_Test()
        {
            using (var trans = TransHelper.NewScope())
            {
                //  arrange
                var expected = JenisBiayaSample();
                _sut.Insert(expected);

                //  act
                _sut.Delete(expected);
            }
        }
 public void Delete(string id)
 {
     _jenisBiayaDal.Delete(id);
 }