Example #1
0
        public PageModel <Major> GetListByDivsionAsync(int divisionId, int pageIndex, int pageSize)
        {
            if (divisionId <= 0)
            {
                throw new ArgumentException("divisionId错误");
            }

            return(_majorRepository.GetListByDivsionAsync(divisionId, pageIndex, pageSize));
        }
Example #2
0
 public PageModel <Major> GetListByDivsionAsync(int divisionId, int pageIndex, int pageSize)
 {
     return(_majorRepository.GetListByDivsionAsync(divisionId, pageIndex, pageSize));
 }