public async Task <HttpResponseMessage> GetPathwayNumbers(string pathwayTitle) { return(await _pathwayService.GetPathwayNumbers(pathwayTitle).AsHttpResponse()); }
public async Task <JsonResult <string> > GetPathwayNumbers(string pathwayTitle) { var pathwayNumbers = await _pathwayService.GetPathwayNumbers(pathwayTitle); return(Json(pathwayNumbers)); }