예제 #1
0
        public virtual async Task <ListResultDto <MenuDto> > GetAllAsync(MenuGetAllInput input)
        {
            var menus = await MenuRepository.GetAllAsync(
                input.Filter, input.Sorting, input.Reverse,
                input.PlatformType, input.ParentId, input.LayoutId);

            return(new ListResultDto <MenuDto>(
                       ObjectMapper.Map <List <Menu>, List <MenuDto> >(menus)));
        }
예제 #2
0
 public virtual async Task <ListResultDto <MenuDto> > GetAllAsync(MenuGetAllInput input)
 {
     return(await MenuAppService.GetAllAsync(input));
 }