private void SavePresent()
 {
     try
     {
         _presentRepository.Save(_present, _list);
         Messenger.Default.Send(new GoToPreviousViewModel());
     }
     catch
     {
         var message = new DisplayErrorSavingDataMessage();
         Messenger.Default.Send(message);
     }
 }
        private void SavePresent()
        {
            try
            {
                _listRepository.Save(_list);
                EndEdit();
                Messenger.Default.Send(new GoToPreviousViewModel());
            }
            catch (RepositoryException)
            {
                CancelEdit();

                var message = new DisplayErrorSavingDataMessage();
                Messenger.Default.Send(message);
            }
        }