public List <BorrowDTO> Get([FromUri] BorrowFindCriteria filter) { if (filter == null) { // allow null criteria and take defaults filter = new BorrowFindCriteria(); } return(_borrowService.FindBorrows(filter)); }
public List <BorrowDTO> Get([FromUri] BorrowFindCriteria filter) { if (filter == null) { // allow null criteria and take defaults filter = new BorrowFindCriteria(); } return(_borrowService.FindBorrows(filter)); }