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