title: How to do server side pagination on angular with entity framework core
body: <p>I Skip And Take the data in Controller Class, how to do pagination on angular </p>
  
  <p>My Controller Class</p>
  
  <pre><code>public IEnumerable&lt;ScrapeTime&gt; scrapeTime(int? page, int pagesize=10)
    {
  var countDetails = _context.ScrapeTime.Count();
   return _context.ScrapeTime.Skip((page ?? 0) * pagesize).Take(pagesize).ToList();
  }
  </code></pre>
  
  <p>My component.ts file</p>
  
  <pre><code>constructor(http: HttpClient,  @Inject('BASE_URL') baseUrl: string) {
  
        http.get&lt;scrapeTime[]&gt;(baseUrl + 'api/ScrapeTime/ScrapeTime').subscribe(result =&gt; {
  
          this.Time = result;
  
        }, error =&gt; console.error(error));
    }
  </code></pre>
  
  <p>The output will show only 10 data on the side, i need to do a pagination for all the data.</p>