コード例 #1
0
 public ServiceController(IBranchBusinessService branchService, IServiceBusinessService publicService,
                          IServiceTypeBusinessService publicServiceType, IServiceUnitBusinessService unitService)
 {
     _serviceBuilder = new ServiceBuilder();
     _serviceBuilder.BuildBranchService(branchService);
     _serviceBuilder.BuildPublicService(publicService);
     _serviceBuilder.BuildServiceTypeService(publicServiceType);
     _serviceBuilder.BuildServiceUnitService(unitService);
 }
コード例 #2
0
 public ServiceTypeController(IServiceTypeBusinessService publicServiceType)
 {
     _serviceBuilder = new ServiceBuilder();
     _serviceBuilder.BuildServiceTypeService(publicServiceType);
 }