Exemple #1
0
        public async Task <IActionResult> GetAdvertisementAsync(int pageIndex, int pageSize)
        {
            var data = await _advertisementService.ToPageList(pageIndex, pageSize);

            return(Ok(data));
        }