Exemplo n.º 1
0
        public async Task OnGetAsync(int pageIndex, int mapId, int roomId)
        {
            MapId  = mapId;
            RoomId = roomId;


            Paging = await _roomAppService.GetPaging(mapId, Keyword, pageIndex);
        }
Exemplo n.º 2
0
        public async Task <IActionResult> OnGetAsync(int mapId, int pageIndex = 1)
        {
            Map = await _mapAppService.Get(mapId);

            if (Map == null)
            {
                return(RedirectToPage("/Map/Index"));
            }

            Paging = await _roomAppService.GetPaging(mapId, Keyword, pageIndex);

            return(Page());
        }