Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CriteriaBll" /> 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>
 /// <param name="kpiGroup">The kpi Group manager provides kpi group functionality.</param>
 public CriteriaBll(IUnitOfWork unitOfWork, IMapper mapper, IManageToken token, IKpiGroupBll kpiGroup)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
     _token      = token;
     _kpiGroup   = kpiGroup;
 }
Esempio n. 2
0
 /// <summary>
 ///  Initializes a new instance of the <see cref="KpiGroupController" /> class.
 /// </summary>
 /// <param name="kpi"></param>
 public KpiGroupController(IKpiGroupBll kpi)
 {
     _kpiGroup = 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 KpiGroupBllTest(IoCConfig io)
 {
     _KpiGroup = io.ServiceProvider.GetRequiredService <IKpiGroupBll>();
 }