public long AddPort(PortObject port) { try { return(_portManager.AddPort(port)); } catch (Exception ex) { ErrorLogger.LoggError(ex.StackTrace, ex.Source, ex.Message); return(0); } }
public bool AddPort(PortModel port, object whereToAdd) { return(PortManager.AddPort(port, whereToAdd)); }