Example #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);
 }
Example #2
0
 public ServiceTypeController(IServiceTypeBusinessService publicServiceType)
 {
     _serviceBuilder = new ServiceBuilder();
     _serviceBuilder.BuildServiceTypeService(publicServiceType);
 }
Example #3
0
 public void BuildServiceTypeService(IServiceTypeBusinessService serviceTypeService)
 {
     _parameter.ServiceTypeService = serviceTypeService;
 }