Exemple #1
0
 public async Task <HttpResponseMessage> GetByDetails(string pathwayNumbers, string gender, int age)
 {
     return(await _pathwayService.GetIdentifiedPathway(pathwayNumbers, gender, age).AsHttpResponse());
 }
        public async Task <JsonResult <Pathway> > GetByDetails(string pathwayNumbers, string gender, int age)
        {
            var pathway = await _pathwayService.GetIdentifiedPathway(pathwayNumbers, gender, age);

            return(Json(pathway));
        }