I have a problem about Skip-Take. Below you can find my code block. Normally, I have 9 items. When I try to use Skip-Take and I want to take 4 items on every pages, the result returns like this: page index=1 item count=3, page index=2 item count=2, page index=3 item count=2
Thanks for your answers.
var DoktorAdlari = (from i in RandevuEslesmeEntity.Query()
join dktr in DoktorTanimEntity.Query() on i.KaynakId equals dktr.Id
join prsnl in PersonelEntity.Query() on dktr.PersonelId equals prsnl.Id
where i.Silindi == false
select new{ doktor = prsnl.Adi})
.ToList()
.Skip(4 * (model.Page.Value-1))
.Take(4)
.GroupBy(p => new { p.id, p.doktor })
.ToList();