示例#1
0
        public void Delete(IKotaKey key)
        {
            //      INPUT VALIDATION
            if (key is null)
            {
                throw new ArgumentException("KOTA ID empty");
            }

            //      REPO-OP
            _kotaDal.Delete(key);
        }
        public void Delete_Test()
        {
            using (var trans = TransHelper.NewScope())
            {
                //  arrange
                var expected = KotaSample();

                //  act
                _sut.Delete(expected);

                //  assert
            }
        }