Exemplo n.º 1
0
 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));
        }