Web api using a repository to retrieve data.