Exemplo n.º 1
0
 public void SaveXML()
 {
     if (string.IsNullOrWhiteSpace(connection))
     {
         throw new Exception("err connection");
     }
     if (string.IsNullOrWhiteSpace(name))
     {
         throw new Exception("err name");
     }
     service.Add(name, connection);
     ConStrs = service.GetSaves();
 }