Beispiel #1
0
 public bool editService(service s, int index)
 {
     try { services.Insert(index, s); services.RemoveAt(index + 1); return(true); }
     catch (Exception) { return(false); }
 }
Beispiel #2
0
 public bool addService(service s)
 {
     try { services.Add(s); return(true); }
     catch (Exception) { return(false); }
 }