Ejemplo n.º 1
0
        public ResponseDto <List <PersonNavMenuDto> > GetNavMenuList()
        {
            ResponseBo <List <PersonNavMenuBo> > responseBo = personBusiness.GetNavMenuList(base.ToBaseBo());

            ResponseDto <List <PersonNavMenuDto> > responseDto = responseBo.ToResponseDto <List <PersonNavMenuDto>, List <PersonNavMenuBo> >();

            if (responseBo.IsSuccess && responseBo.Bo != null)
            {
                responseDto.Dto = toNavMenuDto(responseBo.Bo, 0);
            }

            return(responseDto);
        }