Beispiel #1
0
        public void Delete(int id, string notes = "", bool hardDelete = false)
        {
            notes ??= string.Empty;

            if (hardDelete)
            {
                _queries.MoveToTrash(id);
            }
            else
            {
                _queries.Delete(id, notes);
            }
        }