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); }
public ServiceTypeController(IServiceTypeBusinessService publicServiceType) { _serviceBuilder = new ServiceBuilder(); _serviceBuilder.BuildServiceTypeService(publicServiceType); }