I have got a question with (generic)repository pattern. So in most cases you will find repository pattern online that looks something like this:
public interface