public void Add(Message message)
 {
     var messages = _session[SessionKey] as List<Message>;
     if (messages == null)
     {
         messages = new List<Message>();
         _session[SessionKey] = messages;
     }
     if(!messages.Contains(message))
         messages.Add(message);
 }
 public static void FlashScope(this NancyContext context, Message message)
 {
     var messages = GetFlashScope(context);
     messages.Add(message);
 }