Beispiel #1
0
        public void StoreMessage(string id, string message)
        {
            try
            {
                var hashEngine = new HashService();

                var messageHash = hashEngine.Compute(message);

                _azureStorageService.AddHash(
                    new Journey
                {
                    RowKey = id,
                    Id     = id,
                    Hash   = messageHash
                });
            }
            catch (Exception)
            {
                // TODO: Add logging to identify why the insert failed
            }
        }