Improving Factory Pattern using DI in .Net