void RemoveFailedRecord(EventJsonWrapper _event) { var repository = new FailedMessageRepository(); repository.DeleteWithSaveChanges(_event.Id); repository.Dispose(); }
void FailedRecord(EventJsonWrapper _event) { var repository = new FailedMessageRepository(); repository.CreateWithSaveChanges(_event); repository.Dispose(); }