public async Task <HttpResponseMessage> Get(string id) { return(await _pathwayService.GetPathway(id).AsHttpResponse()); }
public async Task <JsonResult <Pathway> > Get(string id) { var pathway = await _pathwayService.GetPathway(id); return(Json(pathway)); }