public IEnumerable <GetProblem> GetProblems(int page, int pageSize) { int skip = (page - 1) * pageSize; return(_problemRepository.GetProblems(skip, pageSize)); }