/// <summary> /// Remove an endpoint by id /// </summary> /// <param name="id">The id as returned by Add(..) or the Admin portal listing.</param> /// <returns>True if the operation succeeded</returns> public bool Delete(uint id) { return(_endpointDb.Delete(id)); }
private void GoDeleteAll(HttpListenerContext context) { _endpointDb.Delete(); utils.SetStatus(context, HttpStatusCode.NoContent); }