public void Init()
        {
            var builder = new ContainerBuilder();

            builder.RegisterModule <DomainLogicTestModule>();

            var container = builder.Build();

            Allocator        = container.Resolve <SalesPersonAllocationProvider>();
            SalesPersonStore = container.Resolve <SalesPersonStore>();
        }
예제 #2
0
 public AllocateController(
     SalesPersonAllocationProvider salesPersonAllocator)
 {
     _salesPersonAllocator = salesPersonAllocator;
 }