public ErrorReporting(string message, object data)
 {
     InitializeComponent();
     ErrorModel  = new ErrorModel(message, data);
     DataContext = ErrorModel;
 }
 public ErrorReporting()
 {
     InitializeComponent();
     ErrorModel  = new ErrorModel();
     DataContext = ErrorModel;
 }