public IEnumerable <Information> All(string text, bool isCurrentUser, int pageStartIndex, int pageSize)
        {
            IQueryable <Information> query = _informationRepository.All();

            if (isCurrentUser)
            {
                query = query.Where(x => x.UserId == _httpRequest.UserId);
            }

            if (!string.IsNullOrEmpty(text))
            {
                query = query.Where(x => x.Title.Contains(text.ToLower()) || x.Description.Contains(text.ToLower()));
            }

            return(query.OrderByDescending(x => x.CreatedDate).Skip(pageStartIndex * pageSize).Take(pageSize));
        }