/// <summary> /// Initializes a new instance of the <see cref="KpiGroupBll" /> class. /// </summary> /// <param name="unitOfWork">The utilities unit of work.</param> /// <param name="mapper">The auto mapper.</param> /// <param name="token">The ClaimsIdentity in token management.</param> public KpiGroupBll(IUnitOfWork unitOfWork, IMapper mapper, IManageToken token, IKpiBll kpi) { _unitOfWork = unitOfWork; _mapper = mapper; _token = token; _kpi = kpi; }
/// <summary> /// Initializes a new instance of the <see cref="KpiController" /> class. /// </summary> /// <param name="role"></param> public KpiController(IKpiBll kpi) { _kpi = kpi; }
/// <summary> /// Initializes a new instance of the <see cref="HolidayCalendarBllTest" /> class. /// </summary> /// <param name="io">The IoCConfig class provide installing all components needed to use.</param> public KpiBllTest(IoCConfig io) { _Kpi = io.ServiceProvider.GetRequiredService <IKpiBll>(); }