public void Init() { var builder = new ContainerBuilder(); builder.RegisterModule <DomainLogicTestModule>(); var container = builder.Build(); Allocator = container.Resolve <SalesPersonAllocationProvider>(); SalesPersonStore = container.Resolve <SalesPersonStore>(); }
public AllocateController( SalesPersonAllocationProvider salesPersonAllocator) { _salesPersonAllocator = salesPersonAllocator; }