示例#1
0
        public void Remove(int id)
        {
            var vendor = GetById(id);

            if (vendor != null)
            {
                _context.Remove(vendor);
            }
        }
        public void Remove(int id)
        {
            var account = GetById(id);

            if (account != null)
            {
                _context.Remove(account);
            }
        }
示例#3
0
        public void Remove(int id)
        {
            var invoice = GetById(id);

            if (invoice != null)
            {
                _context.Remove(invoice);
            }
        }