fetching data from the data layer from the repository