public List <TimeVideo> GetByRange(int skip, int take, string word) { return(_context.TimeVideo .Where(TimeVideoSpecs.GetTimeVideo(word)) .OrderBy(x => x.Time) .Skip((skip - 1) * take).Take(take).ToList()); }
public int GetCount(string word) { return(_context.TimeVideo.Where(TimeVideoSpecs.GetTimeVideo(word)).Count()); }