Beispiel #1
0
 public async Task <HttpResponseMessage> GetPathwayDetails(string pathwayTitle, string gender, int age)
 {
     return(await _pathwayService.GetIdentifiedPathwayFromTitle(pathwayTitle, gender, age).AsHttpResponse());
 }
        public async Task <JsonResult <Pathway> > GetPathwayDetails(string pathwayTitle, string gender, int age)
        {
            var pathway = await _pathwayService.GetIdentifiedPathwayFromTitle(pathwayTitle, gender, age);

            return(Json(pathway));
        }