コード例 #1
0
 public async Task <HttpResponseMessage> Get(string id)
 {
     return(await _pathwayService.GetPathway(id).AsHttpResponse());
 }
コード例 #2
0
        public async Task <JsonResult <Pathway> > Get(string id)
        {
            var pathway = await _pathwayService.GetPathway(id);

            return(Json(pathway));
        }