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