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

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

            return(Ok(result));
        }