/// <summary>
 /// Create a new defect in the defect tracking system with the provided set messages
 /// </summary>
 /// <param name="controller"></param>
 /// <param name="messages"></param>
 private static void ActionAddDefect(IUserInterfaceContext controller, IList <ILogMessage> messages)
 {
     using (AddDefectDialog dialog = new AddDefectDialog())
     {
         dialog.AddDefect(messages);
     }
 }
 /// <summary>
 /// Create a new defect in the defect tracking system with the provided set messages
 /// </summary>
 /// <param name="controller"></param>
 /// <param name="messages"></param>
 private static void ActionAddDefect(IUserInterfaceContext controller, IList<ILogMessage> messages)
 {
     using(AddDefectDialog dialog = new AddDefectDialog())
     {
         dialog.AddDefect(messages);
     }
 }