public int GetCount(string word) { return(_context.VideoEquipment .Include("Equipment") .Include("Video") .Where(VideoEquipmentSpecs.GetVideoEquipment(word)).Count()); }
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()); }