Exemple #1
0
        public IActionResult GetPaging(int pageIndex, int pageSize)
        {
            var entities = _dataAccessBaseServices.GetPaging(pageIndex, pageSize);

            if (entities.Count() > 0)
            {
                return(Ok(entities));
            }
            else
            {
                return(NoContent());
            }
        }