public HttpResponseMessage GetSourceNodes() { var sourceNodes = _entityLogic.GetAll(c => c.Scheme); return(Request.CreateResponse(HttpStatusCode.OK, sourceNodes)); }
public HttpResponseMessage GetRoutes() { var routes = _entityLogic.GetAll(c => c.SinkNode); return(Request.CreateResponse(HttpStatusCode.OK, routes)); }