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

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

            return(Ok(result));
        }