Beispiel #1
0
        public Maybe <OperationError> Delete(int id)
        {
            using var transaction = _transactionManager.Begin(IsolationLevel.ReadCommitted);
            var deleted = _userNotificationRepository.DeleteById(id);

            transaction.Commit();
            return(deleted);
        }