public JsonResult DeleteEndpoint(Guid id)
 {
     return(Json(EndpointService.PostDeleteEndpoint(id)));
 }