Modified getSamples method of DataService interface to allow limit filter on result set