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(); }
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(); }