Example #1
0
 public IActionResult Get(string filter, int currentPage = 1, int pageSize = 10)
 {
     try
     {
         var _entities = _personBusiness.GetByFilter(filter);
         var _result   = new PagedCollectionVO <PersonOutVO, Person>(_entities, currentPage, pageSize);
         return(Ok(_result));
     }
     catch (Exception ex)
     {
         return(this.ReturnActionResult(ex));
     }
 }