/// <summary> /// Initializes a new instance of the <see cref="WorkflowDelegateBll" /> class. /// </summary> /// <param name="unitOfWork">The utilities unit of work.</param> /// <param name="k2Service">The k2 service provides k2 service functionality.</param> public WorkflowDelegateBll(IUnitOfWork unitOfWork, IK2Service k2Service, IMapper mapper, IManageToken token) { _unitOfWork = unitOfWork; _k2Service = k2Service; _mapper = mapper; _token = token; }
/// <summary> /// Initializes a new instance of the <see cref="TaskBll" /> class. /// </summary> /// <param name="unitOfWork">The utilities unit of work.</param> /// <param name="k2Service">The k2 service provides k2 service functionality.</param> public TaskBll(IUnitOfWork unitOfWork, IK2Service k2Service, IManageToken token, IConfigSetting config, IMapper mapper) { _unitOfWork = unitOfWork; _k2Service = k2Service; _token = token; _config = config; _mapper = mapper; }
/// <summary> /// Initializes a new instance of the <see cref="K2ServiceTest" /> class. /// </summary> /// <param name="io">The IoCConfig class provide installing all components needed to use.</param> public K2ServiceTest(IoCConfig io) { _k2Service = io.ServiceProvider.GetRequiredService <IK2Service>(); }