public DivisionsControllerTest() { var diServiceBuilder = new DIServiceBuilder(); _controller = diServiceBuilder.GetService <DivisionsController>(); _creators = new Creators(); }
public DivisionService_Test() { var diServiceBuilder = new DIServiceBuilder(); _divisionService = diServiceBuilder.GetService <DivisionService>(); _creators = new Creators(); }
public Creators() { DIServiceBuilder builder = new DIServiceBuilder(); var context = builder.GetService <OdContext>(); DivisionCreator = new DivisionCreator(context); AddressCreator = new AddressCreator(context); UserCreator = new UserCreator(context); }