public void Warning(string message)
        {
            var warningMessage = new LoggingWarningMessage()
            {
                Message     = message,
                MessageType = MessageType.Warning,
                Timestamp   = DateTime.Now
            };

            Warning(warningMessage);
        }
 public void Warning(LoggingWarningMessage message)
 {
     _warningRepository.Insert(message);
 }