示例#1
0
 public ActionResult Get(string filter, int currentPage = 1, int pageSize = 10)
 {
     try
     {
         var _entities = _bookBusiness.GetByFilter(filter);
         var _result   = new PagedCollectionVO <BookOutVO, Book>(_entities, currentPage, pageSize);
         return(Ok(_result));
     }
     catch (Exception ex)
     {
         return(this.ReturnActionResult(ex));
     }
 }