changed parameters in repo from List to IEnumerable.