예제 #1
0
        public Object GetProjectPagedWithQuery(string query, int?start, int?limit)
        {
            List <Projects> list = _projectLogic.GetProjectFiltered(query, start, limit).ToList <Projects>();

            return(new
            {
                success = true,
                Projects = new { Record = list.Skip(start.Value).Take(limit.Value), TotalRecords = list.Count }
            });
        }