示例#1
0
        public void DeleteItem(T item)
        {
            Guard.AgainstNull(item, "item");

            _backend.GetId(item);             // Will throw if item isn't in the backend data mapper.
            UpdateLiftFileWithDeleted(item);
            _backend.DeleteItem(item);
        }