Example #1
0
        public IActionResult Search(string value = null, [FromQuery] int page = 1)
        {
            Console.WriteLine("hi" + value);
            var matches    = lifenizer.Search(value, 1);
            var matcheList = matches.ToList();

            var result = new Pagination <Conversation>(page, 10);

            result.Build(matcheList.AsQueryable());

            return(Ok(result));
        }