예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="K2Service" /> class.
 /// </summary>
 /// <param name="config">The config value.</param>
 public K2Service(IConfigSetting config, IManageToken token)
 {
     _config         = config;
     _token          = token;
     _client         = new HttpClient();
     _k2ProfileModel = this.InitialK2Profile();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderBll" /> class.
 /// </summary>
 /// <param name="unitOfWork">The utilities unit of work.</param>
 /// <param name="mapper">The auto mapper.</param>
 public OrderBll(IUnitOfWork unitOfWork, IMapper mapper, IManageToken token, IActivityTimeLineBll activityTimeLine)
 {
     _unitOfWork       = unitOfWork;
     _mapper           = mapper;
     _token            = token;
     _activityTimeLine = activityTimeLine;
 }
예제 #3
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;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EvaluationSapResultBll" /> 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 EvaluationSapResultBll(IUnitOfWork unitOfWork, IManageToken token, ISummaryEvaluationBll summaryEvaluation, ILoggerManager logger)
 {
     _unitOfWork        = unitOfWork;
     _token             = token;
     _summaryEvaluation = summaryEvaluation;
     _logger            = logger;
 }
 /// <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="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;
 }
예제 #7
0
 /// <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="VendorTransectionBll" /> 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="elasticSearch">The elastic search service provider elastic search functionality.</param>
 public VendorTransectionBll(IUnitOfWork unitOfWork, IMapper mapper, IManageToken token,
                             IElasticSearch <VendorTransectionElasticSearchModel> elasticSearch)
 {
     _unitOfWork    = unitOfWork;
     _mapper        = mapper;
     _token         = token;
     _elasticSearch = elasticSearch;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="VendorEvaluationStatusReportBll" /> class.
 /// </summary>
 /// <param name="unitOfWork">The utilities unit of work.</param>
 /// <param name="token">The ClaimsIdentity in token management.</param>
 public VendorEvaluationStatusReportBll(IUnitOfWork unitOfWork, ISummaryEvaluationBll summaryEvaluation, IManageToken token,
                                        IEvaluationTemplateBll evaluationTemplateBll)
 {
     _unitOfWork            = unitOfWork;
     _summaryEvaluation     = summaryEvaluation;
     _token                 = token;
     _evaluationTemplateBll = evaluationTemplateBll;
 }
예제 #10
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RegisterBll" /> class.
 /// </summary>
 /// <param name="unitOfWork">The utilities unit of work.</param>
 /// <param name="emailService">The email service provides email functionality.</param>
 /// <param name="token">The ClaimsIdentity in token management.</param>
 public PasswordBll(IUnitOfWork unitOfWork, IEmailService emailService, IManageToken token, IConfigSetting config, IMapper mapper)
 {
     _unitOfWork   = unitOfWork;
     _emailService = emailService;
     _token        = token;
     _config       = config;
     _mapper       = mapper;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EvaluationBll" /> 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="evaluationAssign">The evaluation assign manager provides evaluation assign functionality.</param>
 /// <param name="vendorFilter">The vendor filter manager provides vendor filter functionality.</param>
 public EvaluationBll(IUnitOfWork unitOfWork, IMapper mapper, IManageToken token, IEvaluationAssignBll evaluationAssign, IVendorFilterBll vendorFilter)
 {
     _unitOfWork       = unitOfWork;
     _mapper           = mapper;
     _token            = token;
     _evaluationAssign = evaluationAssign;
     _vendorFilter     = vendorFilter;
 }
예제 #12
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VendorFilterBll" /> class.
 /// </summary>
 /// <param name="unitOfWork">The utilities unit of work.</param>
 /// <param name="token">The ClaimsIdentity in token management.</param>
 public VendorFilterBll(IUnitOfWork unitOfWork, ILoggerManager logger, IManageToken token, IVendorTransectionBll vendorTransection,
                        IEmailTaskBll emailTask, IEmailService emailService)
 {
     _unitOfWork        = unitOfWork;
     _token             = token;
     _vendorTransection = vendorTransection;
     _emailTask         = emailTask;
     _emailService      = emailService;
     _logger            = logger;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SummaryEmailTaskBll" /> class.
 /// </summary>
 /// <param name="unitOfWork">The utilities unit of work.</param>
 /// <param name="token">The ClaimsIdentity in token management.</param>
 public SummaryEmailTaskBll(IUnitOfWork unitOfWork, IManageToken token, IEmailTaskBll emailTask,
                            IEmailService emailService, ILoggerManager logger, IConfigSetting config)
 {
     _unitOfWork   = unitOfWork;
     _token        = token;
     _emailTask    = emailTask;
     _emailService = emailService;
     _logger       = logger;
     _config       = config;
 }
예제 #14
0
 /// <summary>
 /// Initializes a new instance of the <see cref="VendorEvaluationReportBll" /> class.
 /// </summary>
 /// <param name="unitOfWork">The utilities unit of work.</param>
 /// <param name="summaryEvaluation">The summary evaluation manager provides summary evaluation functionality.</param>
 /// <param name="reportService">The summary evaluation manager provides summary evaluation functionality.</param>
 /// <param name="token">The ClaimsIdentity in token management.</param>
 /// <param name="emailService">The email service provides email service functionality.</param>
 public VendorEvaluationReportBll(IUnitOfWork unitOfWork, ISummaryEvaluationBll summaryEvaluation,
                                  IReportService reportService, IManageToken token, IEmailService emailService, IEmailTaskBll emailTask)
 {
     _unitOfWork        = unitOfWork;
     _token             = token;
     _summaryEvaluation = summaryEvaluation;
     _reportService     = reportService;
     _emailService      = emailService;
     _emailTask         = emailTask;
 }
예제 #15
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EvaluationTemplateBll" /> 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 criteria manager provides criteria functionality.</param>
 public EvaluationTemplateBll(IUnitOfWork unitOfWork, IMapper mapper, IManageToken token,
                              ICriteriaBll criteria, ILevelPointBll levelPoint, IGradeBll grade)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
     _token      = token;
     _criteria   = criteria;
     _levelPoint = levelPoint;
     _grade      = grade;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SummaryEvaluationBll" /> 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 SummaryEvaluationBll(IUnitOfWork unitOfWork, IMapper mapper, IManageToken token, IWorkflowBll workflow,
                             IEmailTaskBll emailTask, IEmailService emailService, IConfigSetting config)
 {
     _unitOfWork   = unitOfWork;
     _mapper       = mapper;
     _token        = token;
     _workflow     = workflow;
     _emailTask    = emailTask;
     _emailService = emailService;
     _config       = config;
 }
예제 #17
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TicketBll" /> class.
 /// </summary>
 /// <param name="unitOfWork">The utilities unit of work.</param>
 public TicketBll(IUnitOfWork unitOfWork, IMapper mapper, IManageToken token,
                  ITicketCommentBll ticketComment, ITicketTransectionBll ticketTransection, IConfigSetting config, IEmailService emailService)
 {
     _unitOfWork        = unitOfWork;
     _mapper            = mapper;
     _token             = token;
     _ticketComment     = ticketComment;
     _ticketTransection = ticketTransection;
     _config            = config;
     _emailService      = emailService;
 }
예제 #18
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CaBll" /> class.
 /// </summary>
 /// <param name="unitOfWork">The utilities unit of work.</param>
 /// <param name="mapper">The auto mapper.</param>
 /// <param name="attachmemt">The attachment file function.</param>
 /// <param name="manageToken">The manage token payload value.</param>
 /// <param name="elastic">The elastic search function.</param>
 public CaBll(IUnitOfWork unitOfWork,
              IMapper mapper,
              IAttachment attachmemt,
              IManageToken manageToken,
              IElasticSearch <CaSearchViewModel> elastic)
 {
     _unitOfWork  = unitOfWork;
     _attachmemt  = attachmemt;
     _mapper      = mapper;
     _manageToken = manageToken;
     _elastic     = elastic;
 }
예제 #19
0
 /// <summary>
 ///  Initializes a new instance of the <see cref="CacheController" /> class.
 /// </summary>
 /// <param name="cacheManagement"></param>
 public CacheController(ICacheManagement cacheManagement, IManageToken token)
 {
     _cacheManagement = cacheManagement;
     _token           = token;
 }
예제 #20
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EmailTaskBll" /> class.
 /// </summary>
 /// <param name="unitOfWork">The utilities unit of work.</param>
 /// <param name="token">The ClaimsIdentity in token management.</param>
 public EmailTaskBll(IUnitOfWork unitOfWork, IManageToken token)
 {
     _unitOfWork = unitOfWork;
     _token      = token;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ApprovalBll" /> 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 ApprovalBll(IUnitOfWork unitOfWork, IMapper mapper, IManageToken token)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
     _token      = token;
 }
예제 #22
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EvaluatorGroupBll" /> 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 EvaluatorGroupBll(IUnitOfWork unitOfWork, IMapper mapper, IManageToken token)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
     _token      = token;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="EvaluationAssignBll" /> 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 EvaluationAssignBll(IUnitOfWork unitOfWork, IMapper mapper, IManageToken token)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
     _token      = token;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="HolidayCalendarBll" /> 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 HolidayCalendarBll(IUnitOfWork unitOfWork, IMapper mapper, IManageToken token)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
     _token      = token;
 }
예제 #25
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AttachmentBll" /> class.
 /// </summary>
 /// <param name="unitOfWork">The utilities unit of work.</param>
 /// <param name="configuration">The configuration value.</param>
 /// <param name="manageToken">The manage token payload value.</param>
 public AttachmentBll(IUnitOfWork unitOfWork, IConfiguration configuration, IManageToken manageToken)
 {
     _unitOfWork    = unitOfWork;
     _configuration = configuration;
     _manageToken   = manageToken;
 }
예제 #26
0
 /// <summary>
 /// Initializes a new instance of the <see cref="EvaluatorGroupBll" /> class.
 /// </summary>
 /// <param name="unitOfWork">The utilities unit of work.</param>
 /// <param name="token">The ClaimsIdentity in token management.</param>
 public EvaluationPercentageConfigBll(IUnitOfWork unitOfWork, IManageToken token)
 {
     _unitOfWork = unitOfWork;
     _token      = token;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="UserRoleBll" /> class.
 /// </summary>
 /// <param name="unitOfWork">The utilities unit of work.</param>
 public UserRoleBll(IUnitOfWork unitOfWork, IMapper mapper, IManageToken token)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
     _token      = token;
 }
예제 #28
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AuthorityCompanyBll" /> class.
 /// </summary>
 /// <param name="unitOfWork">The utilities unit of work.</param>
 public AuthorityCompanyBll(IUnitOfWork unitOfWork, IMapper mapper, IManageToken token)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
     _token      = token;
 }
예제 #29
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PeriodBll" /> 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 PeriodBll(IUnitOfWork unitOfWork, IMapper mapper, IManageToken token)
 {
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
     _token      = token;
 }
 /// <summary>
 ///  Initializes a new instance of the <see cref="TaskController" /> class.
 /// </summary>
 /// <param name="task">The Task manager provides Task functionality.</param>
 /// <param name="taskAction">The Task Action manager provides Task Action functionality.</param>
 public TaskController(ITaskBll task, ITaskActionBll taskAction, IManageToken token)
 {
     _task       = task;
     _taskAction = taskAction;
     _token      = token;
 }