コード例 #1
0
 public async Task <HttpResponseMessage> GetPathwayNumbers(string pathwayTitle)
 {
     return(await _pathwayService.GetPathwayNumbers(pathwayTitle).AsHttpResponse());
 }
コード例 #2
0
        public async Task <JsonResult <string> > GetPathwayNumbers(string pathwayTitle)
        {
            var pathwayNumbers = await _pathwayService.GetPathwayNumbers(pathwayTitle);

            return(Json(pathwayNumbers));
        }