示例#1
0
        public async Task <ActionResult <TalkModel[]> > Get(string moniker)
        {
            var res = await _talkService.GetTalksByMonikerAsync(moniker, true);

            if (res.statusCode == 500)
            {
                return(StatusCode(StatusCodes.Status500InternalServerError, res.message));
            }

            return(res.talkModel);
        }