public virtual IActionResult DeleteEndpointForClient( [FromRoute] Guid clientUid, [FromRoute] Guid endpointUid) { if ((clientUid == Guid.Empty) || (endpointUid == Guid.Empty)) { return(StatusCode((int)HttpStatusCode.BadRequest)); } EndpointManager.Remove(clientUid, endpointUid); return(StatusCode((int)HttpStatusCode.NoContent)); }