Exemple #1
0
        public async Task <JsonResult> GetRegion(PromptQuery qry)
        {
            var result = await _promptService.GetRegion(qry);

            return(Json(result));
        }
Exemple #2
0
        public async Task <ActionResult <IEnumerable <PromptAnswer> > > GetRegion([FromBody] PromptQuery query)
        {
            var result = await _promptService.GetRegion(query);

            return(Ok(result));
        }