Exemple #1
0
 public int GetCount(string word)
 {
     return(_context.VideoEquipment
            .Include("Equipment")
            .Include("Video")
            .Where(VideoEquipmentSpecs.GetVideoEquipment(word)).Count());
 }
Exemple #2
0
 public List <VideoEquipment> GetByRange(int skip, int take, string word)
 {
     return(_context.VideoEquipment
            .Include("Equipment")
            .Include("Video")
            .Where(VideoEquipmentSpecs.GetVideoEquipment(word))
            .Skip((skip - 1) * take).Take(take).ToList());
 }