public List <AccountEntity> GetAccountProductByName(string searchTerm, int pageSize, int pageNum) { _customerDataAccess = new CustomerDataAccess(_context); return(_customerDataAccess.GetAccountProductByName(searchTerm, pageSize, pageNum)); }
public List <AccountEntity> GetAccountProductByName(string searchTerm, int pageSize, int pageNum) { _customerDataAccess = new CustomerDataAccess(_context); return(_customerDataAccess.GetAccountProductByName(searchTerm, pageSize, pageNum)); }