Пример #1
0
        public IHttpActionResult Get([FromUri] string description, [FromUri] Page page)
        {
            var jobs = OrderBy(_reader.FilterBy(description).Select(Convert), page).ToList();

            var pager = Pager(jobs, Relationships.Job_QueryBy_Description);

            return(Ok(new JobByDescriptionPagedList(pager.GetPage(page), description)));
        }
 public TestContext ActFilterBy()
 {
     _result = _sut.FilterBy(_description).FirstOrDefault();
     return(this);
 }