Ejemplo n.º 1
0
 /// <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));
 }
Ejemplo n.º 2
0
 private void GoDeleteAll(HttpListenerContext context)
 {
     _endpointDb.Delete();
     utils.SetStatus(context, HttpStatusCode.NoContent);
 }