Пример #1
0
        public async Task <IActionResult> GetAllAccount([FromQuery] PagingParameters paging)
        {
            Results <List <PandaAccountReadContract> > result = await _accountFacade.GetAllAccount(paging);

            if (result.IsError())
            {
                return(StatusCode(500, result));
            }

            return(Ok(result));
        }