ADP interview question

Design pattern - repository pattern, ioc.