public RisksController(IRiskService riskService, IRelationshipService relationshipService, IAuditTrailService auditTrailService, ITreatmentService treatmentService)
 {
     _riskService         = riskService;
     _relationshipService = relationshipService;
     _auditTrailService   = auditTrailService;
     _treatmentService    = treatmentService;
 }
 public AuditTrailController(ILogger <AuditTrailController> logger, ApplicationDbContext db, UserManager <ApplicationUser> userManager, IAuditTrailService auditTrailService)
 {
     _logger            = logger;
     _db                = db;
     _userManager       = userManager;
     _auditTrailService = auditTrailService;
 }
 public BillCollectionCommonController(IBillCollectionCommonService BillCollectionCommonService,
                                       IAuditTrailService objAuditTrailService, IErrorLogService objerrorLogService)
 {
     this._BillCollectionCommonService = BillCollectionCommonService;
     this._auditTrailService           = objAuditTrailService;
     this.errorLogService = objerrorLogService;
 }
 public DistributorDepositController(IDistributorDepositService distributorDepositService,
                                     IAuditTrailService objAuditTrailService, IErrorLogService objerrorLogService)
 {
     this._distributorDepositService = distributorDepositService;
     this._auditTrailService         = objAuditTrailService;
     this.errorLogService            = objerrorLogService;
 }
Example #5
0
 public TreatmentsController(ITreatmentService treatmentService, IRelationshipService relationshipService, IAuditTrailService auditTrailService, IAssetService assetService)
 {
     _treatmentService    = treatmentService;
     _relationshipService = relationshipService;
     _auditTrailService   = auditTrailService;
     _assetService        = assetService;
 }
Example #6
0
 public CommissionConversionController(ICommissionConversionService CommissionConversionService,
                                       IAuditTrailService objAuditTrailService, IErrorLogService objerrorLogService)
 {
     this._CommissionConversionService = CommissionConversionService;
     this._auditTrailService           = objAuditTrailService;
     this.errorLogService = objerrorLogService;
 }
Example #7
0
 public CustomerRequestController(IKycService _kycService, IErrorLogService _errorLogService, IAuditTrailService _auditTrailService, ICustomerReqLogService _customerReqLogService, ICustomerRequestService _customerRequestService)
 {
     auditTrailService      = _auditTrailService;
     customerReqLogService  = _customerReqLogService;
     customerRequestService = _customerRequestService;
     errorLogService        = _errorLogService;
     kycService             = _kycService;
 }
 //public ExcelUploadController(ITblDisburseTmpService objTblDisburseTmpService, IDistributorService objDstributorService) : base()
 public ExcelUploadController(ITblDisburseTmpService objTblDisburseTmpService,
                              IDistributorService objDstributorService, IAgentService objAgentService, IAuditTrailService objAuditTrailService) : base()
 {
     this._TblDisburseTmpService = objTblDisburseTmpService;
     this._distributorService    = objDstributorService;
     this._agentService          = objAgentService;
     _auditTrailService          = objAuditTrailService;
 }
Example #9
0
 public DisbursementUserController(IMerchantUserService _merchantUserService, IErrorLogService _errorLogService,
                                   IDisbursementUserService _usersService, IAuditTrailService objAuditTrailService)
 {
     disbursementUserService = _usersService;
     errorLogService         = _errorLogService;
     merchantUsersService    = _merchantUserService;
     _auditTrailService      = objAuditTrailService;
 }
 public TransactionMasterController(IKycService _kycService, ITransactionMasterService _transMastService, IErrorLogService objerrorLogService,
                                    IAuditTrailService objAuditTrailService)
 {
     this.transMastService = _transMastService;
     this.errorLogService  = objerrorLogService;
     _auditTrailService    = objAuditTrailService;
     this.kycService       = _kycService;
 }
Example #11
0
 public MessageController(
     IMessageService messageService,
     IUserManagementService userManagementService,
     IAuditTrailService auditTrailService)
 {
     this.userManagementService = userManagementService;
     this.messageService = messageService;
     this.auditTrailService = auditTrailService;
 }
 public ApplicationUserController(IMerchantUserService _merchantUserService, IErrorLogService _errorLogService,
                                  IApplicationUserService _usersService, IAuditTrailService objAuditTrailService, IEmailService _emailService)
 {
     usersService         = _usersService;
     errorLogService      = _errorLogService;
     merchantUsersService = _merchantUserService;
     _auditTrailService   = objAuditTrailService;
     emailService         = _emailService;
 }
Example #13
0
 public AgentController(IAgentService service, IDsrService dsrService, IKycService kycService
                        , IErrorLogService _errorLogService, IAuditTrailService objAuditTrailService)
 {
     this._service        = service;
     this._dsrService     = dsrService;
     this._kycService     = kycService;
     this.errorLogService = _errorLogService;
     _auditTrailService   = objAuditTrailService;
 }
        public AccountController(
            IManagementService <UserAccount> service,

            IAuditTrailService auditTrailService)
        {
            this._service = service;

            this._auditTrailService = auditTrailService;
        }
Example #15
0
 public DisbursementController(IDisbursementService disbursementService, IDisburseAmtDtlMakeService objDisburseAmtDtlMakeService,
                               IDistributorDepositService objDistributorDepositService, IErrorLogService _errorLogService,
                               IAuditTrailService objAuditTrailService)
 {
     this._disbursementService       = disbursementService;
     this._disburseAmtDtlMakeService = objDisburseAmtDtlMakeService;
     this._distributorDepositService = objDistributorDepositService;
     this.errorLogService            = _errorLogService;
     this._auditTrailService         = objAuditTrailService;
 }
 public AffiliationsService(IAffiliationsRepository repo,
                            IAuditTrailService <Affiliations> auditTrailService,
                            ICompanyInformationRepository compInfoRepo,
                            IUserRepository userRepo)
 {
     this.repo = repo;
     this.auditTrailService = auditTrailService;
     this.compInfoRepo      = compInfoRepo;
     this.userRepo          = userRepo;
 }
Example #17
0
 public DistributorController(ICustomerRequestService _customerRequestService, IErrorLogService _errorLogService, IAuditTrailService _auditTrailService, ILocationService locationService, IKycService kycService, IDistributorService distributorService, IDsrService objDsrService, IDormantAccService _dormantAccService)
 {
     this.auditTrailService      = _auditTrailService;
     this._distributorService    = distributorService;
     this._DsrService            = objDsrService;
     this.dormantAccService      = _dormantAccService;
     this._kycService            = kycService;
     this._locationService       = locationService;
     this.errorLogService        = _errorLogService;
     this.customerRequestService = _customerRequestService;
 }
Example #18
0
 public AuditTrailWriter(IAuditTrailService auditTrailService, IAuthenticatedUserContext authenticatedUser)
 {
     if (auditTrailService == null)
     {
         throw new ArgumentNullException("auditTrailService");
     }
     if (authenticatedUser == null)
     {
         throw new ArgumentNullException("authenticatedUser");
     }
     this.auditTrailService = auditTrailService;
     this.authenticatedUser = authenticatedUser;
 }
Example #19
0
 public UserController(
     UserManager <AppUser> userManager,
     IConfiguration configuration,
     IBreadcrumbNavBuilder breadcrumbNavBuilder,
     IUserRepository userRepository,
     IAuditTrailService auditTrailService)
 {
     _userManager          = userManager;
     _configuration        = configuration;
     _breadcrumbNavBuilder = breadcrumbNavBuilder;
     _userRepository       = userRepository;
     _auditTrailService    = auditTrailService;
 }
 public AuditTrailWriter(IAuditTrailService auditTrailService, IAuthenticatedUserContext authenticatedUser)
 {
     if (auditTrailService == null)
     {
         throw new ArgumentNullException("auditTrailService");
     }
     if (authenticatedUser == null)
     {
         throw new ArgumentNullException("authenticatedUser");
     }
     this.auditTrailService = auditTrailService;
     this.authenticatedUser = authenticatedUser;
 }
 public DepartmentController(
     UserManager <AppUser> userManager,
     IFileUploader uploader,
     IBreadcrumbNavBuilder breadcrumbNavBuilder,
     IDepartmentRepository catalogRepository,
     IAuditTrailService auditTrailService)
 {
     _userManager          = userManager;
     _uploader             = uploader;
     _breadcrumbNavBuilder = breadcrumbNavBuilder;
     _departmentRepository = catalogRepository;
     _auditTrailService    = auditTrailService;
 }
Example #22
0
 [StructureMap.DefaultConstructor] // Set Default Constructor for StructureMap
 public AuditTrailController(
     IAuditTrailService auditTrailService
     , ICookieStorageService cookieStorageService
     , IErrorLogService errorLogService
     , IUnitOfWorkAsync unitOfWorkAsync
     , IApplicationConfiguration applicationConfiguration
     ) : base(cookieStorageService
              , errorLogService
              , applicationConfiguration
              )
 {
     _unitOfWorkAsync   = unitOfWorkAsync;
     _auditTrailService = auditTrailService;
 }
 public IndexModel(EquipmentContext context,
                   UserManager <User> userManager,
                   IAuthorizationService authorizationService,
                   IUsageRecordService usageRecordService,
                   IMaintenanceRecordService maintenanceRecordService,
                   IUserResolverService userResolverService,
                   IAuditTrailService auditTrailService)
     : base(context, userManager, authorizationService)
 {
     _usageRecordService       = usageRecordService;
     _maintenanceRecordService = maintenanceRecordService;
     _userResolverService      = userResolverService;
     _auditTrailService        = auditTrailService;
 }
Example #24
0
        public PublicController(
            IManagementService <UserAccount> managementUserAccountService,

            IAuditTrailService auditTrailService)
        {
            this._managementUserAccountService = managementUserAccountService;

            this._emailAutomationService = new EmailAutomationService(
                ConfigurationManager.AppSettings["SMTP_Host"],
                Convert.ToInt32(ConfigurationManager.AppSettings["SMTP_Port"]),
                ConfigurationManager.AppSettings["SMTP_FromEmail"],
                ConfigurationManager.AppSettings["SMTP_Username"],
                ConfigurationManager.AppSettings["SMTP_Password"]);

            this._auditTrailService = auditTrailService;
        }
Example #25
0
 //public AssumptionsHeadcountManagementController( IAssumptionHeadcountService ahcService, IDatapointService datapointService,
 //  ISiteService siteService, ICampaignService campaignService, ILoBService lobService )
 //{
 //    this._ahcService = ahcService;
 //    this._datapointService = datapointService;
 //    this._siteService = siteService;
 //    this._campaignService = campaignService;
 //    this._lobService = lobService;
 //}
 public AssumptionsHeadcountManagementController(IAssumptionHeadcountService ahcService, IDatapointService datapointService,
                                                 ISiteService siteService, ICampaignService campaignService, ILoBService lobService, IWeeklyDatapointService weeklyDatapointService,
                                                 ISiteCampaignService siteCampaignService, ISiteCampaignLoBService siteCampaignLobService, IAuditTrailService auditTrailService,
                                                 IUploadAHCService uploadAHCService, IStagingWeeklyDatapointService stagingWeeklyDatapointService)
 {
     this._ahcService                    = ahcService;
     this._datapointService              = datapointService;
     this._siteService                   = siteService;
     this._campaignService               = campaignService;
     this._lobService                    = lobService;
     this._weeklyDatepointService        = weeklyDatapointService;
     this._siteCampaignService           = siteCampaignService;
     this._siteCampaignLobService        = siteCampaignLobService;
     this._auditTrailService             = auditTrailService;
     this._uploadService                 = uploadAHCService;
     this._stagingWeeklyDatapointService = stagingWeeklyDatapointService;
 }
 public SubcategoryController(
     UserManager <AppUser> userManager,
     IFileUploader uploader,
     IBreadcrumbNavBuilder breadcrumbNavBuilder,
     ISubcategoryRepository catalogRepository,
     ICategoryRepository categoryRepository,
     IDepartmentRepository departmentRepository,
     IProductRepository productRepository,
     IAuditTrailService auditTrailService)
 {
     _userManager           = userManager;
     _uploader              = uploader;
     _breadcrumbNavBuilder  = breadcrumbNavBuilder;
     _subcategoryRepository = catalogRepository;
     _categoryRepository    = categoryRepository;
     _departmentRepository  = departmentRepository;
     _productRepository     = productRepository;
     _auditTrailService     = auditTrailService;
 }
 public AuditTrailController(IRepository <AuditTrail> auditTrailRepository,
                             IAuditTrailService auditTrailService,
                             IStoreService storeService,
                             IAutoNumberService autoNumberService,
                             IItemService itemService,
                             ILocalizationService localizationService,
                             IPermissionService permissionService,
                             HttpContextBase httpContext,
                             IWorkContext workContext,
                             IDbContext dbContext)
 {
     this._auditTrailRepository = auditTrailRepository;
     this._localizationService  = localizationService;
     this._auditTrailService    = auditTrailService;
     this._permissionService    = permissionService;
     this._httpContext          = httpContext;
     this._workContext          = workContext;
     this._dbContext            = dbContext;
 }
Example #28
0
 public OrderController(
     UserManager <AppUser> userManager,
     IBreadcrumbNavBuilder breadcrumbNavBuilder,
     ICartManager cartManager,
     IEmailSender mailSender,
     IViewMarkupExtractor viewMarkupExtractor,
     IProductRepository productRepository,
     IOrderRepository orderRepository,
     IUserRepository userRepository,
     IAuditTrailService auditTrailService)
 {
     _userManager          = userManager;
     _breadcrumbNavBuilder = breadcrumbNavBuilder;
     _cartManager          = cartManager;
     _mailSender           = mailSender;
     _viewMarkupExtractor  = viewMarkupExtractor;
     _productRepository    = productRepository;
     _orderRepository      = orderRepository;
     _userRepository       = userRepository;
     _auditTrailService    = auditTrailService;
 }
Example #29
0
    protected void Page_Load(object sender, EventArgs e)
    {
        i18n = new i18nHelper();
        this.Title = i18n.GetMessage("m261") + " @ " + i18n.GetMessage("m9");
        this.forwardSend.Text = i18n.GetMessage("m78");
        currentUser = WebUtility.GetCurrentKBUser();
        subjectid = currentUser.SubjectId;
        documentService = factory.GetDocumentService();
        categoryService = factory.GetCategoryService();
        ratingService = factory.GetRatingService();
        auditTrailService = factory.GetAuditTrailService();
        wfService = factory.GetWorkflowService();
        hitService = factory.GetHitService();
        documentClassService = factory.GetDocumentClassService();
        subscribeService = WebUtility.Repository.GetSubscribeService();
        docId = WebUtility.GetIntegerParameter("documentId");
        folderId = WebUtility.GetIntegerParameter("folderId", -1);
        ver = WebUtility.GetIntegerParameter("ver", 0);
        latestVersionNumber = buildVersionInfo();
        currentUserOutputConfig = WebUtility.GetUserOutputConfig(currentUser.SubjectId);
        attachMode = currentUserOutputConfig.AttachMode;
        showUsedTags = ConfigurationManager.AppSettings["ShowUsedTags"] != null ? ConfigurationManager.AppSettings["ShowUsedTags"] : "false";
        tagsAutoComplete = ConfigurationManager.AppSettings["TagsAutoComplete"] != null ? ConfigurationManager.AppSettings["TagsAutoComplete"] : "false";
        tagsSuggestListLen = ConfigurationManager.AppSettings["TagsSuggestListLen"] != null ? ConfigurationManager.AppSettings["TagsSuggestListLen"] : "10";
        subscriptionConfirm = Convert.ToBoolean(ConfigurationManager.AppSettings["SubscriptionConfirm"] != null ? ConfigurationManager.AppSettings["SubscriptionConfirm"].ToString() : "true");
        autoSubscription = Convert.ToBoolean(ConfigurationManager.AppSettings["AutoSubscription"] != null ? ConfigurationManager.AppSettings["AutoSubscription"].ToString() : "true");
        allowSendToNoPrivilegeUser = Convert.ToBoolean(ConfigurationManager.AppSettings["AllowSendToNoPrivilegeUser"] != null ? ConfigurationManager.AppSettings["AllowSendToNoPrivilegeUser"].ToString() : "true");
        TagMaxLength = ConfigurationManager.AppSettings["TagMaxLength"] != null ? ConfigurationManager.AppSettings["TagMaxLength"] : "30";
        IsSafari = (Request.Browser.Browser.ToLower().Equals("applemac-safari") && !Request.UserAgent.ToLower().Contains("chrome"));
        userHadSubscribeResource = subscribeService.UserHadSubscribedResource(currentUser.SubjectId, (int)currentUser.SubjectType, docId, (int)SubscribeRecord.ResourceType.Document);
        mailService = WebUtility.Repository.GetMailService();
        kbuserService = WebUtility.Repository.GetKBUserService();
        folderService = WebUtility.Repository.GetFolderService();
        forwardService = WebUtility.Repository.GetForwardService();
        if (ver == 0)
        {
            doc = documentService.GetDocument(currentUser, docId);
            ver = latestVersionNumber;
        }
        else
        {
            doc = documentService.GetDocument(currentUser, docId, ver);
        }
        readVersion.Text = ver.ToString();
        latestVersion.Text = latestVersionNumber.ToString();
        if (ver != latestVersionNumber)
        {
            Panel1.Visible = false;
        }
        if (folderId == -1)
        {
            FolderInfo f = documentService.GetParentFolders(currentUser, docId)[0];
            folderId = f.FolderId;
        }

        buildCategoriesList();
        buildDocumentView();

        #region For teamKube Xml Render
        if (IsACLiteSubjectProvider)
        {
            renderSpecXml = RenderSpecificXML(currentUser, doc.DocumentId, ver);
        }
        #endregion

        if(!doc.DocumentClass.ClassName.Trim().ToLower().Equals("filesystem"))
        {
            buildFileList();
        }

        buildRatingSummary();
        buildAuditTrailInfo();
        createHitInfo();
        buildRelatedTagList(20);
        buildRelatedDocumentList();
        checkWorkflowInvolved();
        isDiffDocClass = IsDiffDocumentClass();
        strDiffDocClass = String.Format(i18n.GetMessage("m801"), doc.DocumentClass.ClassName, i18n.GetMessage("m802"), i18n.GetMessage("m803"));

        isBuiltinDocumentClass = (doc.DocumentClass.IsBuiltIn == true) ? "true" : "false";
    }
 public ContainerController(IContainerService containerService, IAuditTrailService auditTrailService, IRelationshipService relationshipService)
 {
     _containerService    = containerService;
     _auditTrailService   = auditTrailService;
     _relationshipService = relationshipService;
 }
Example #31
0
 public AccountController(IUserManagementService usrMngSvc, IAuthenticationService authSvc,IAuditTrailService auditTrailService)
 {
     this.userManagementService = usrMngSvc;
     this.AuthenticationService = authSvc;
     this.auditTrailService = auditTrailService;
 }
Example #32
0
 public AssetsController(IAssetService assetService, IRelationshipService relationshipService, IAuditTrailService auditTrailService)
 {
     _assetService        = assetService;
     _relationshipService = relationshipService;
     _auditTrailService   = auditTrailService;
 }
 public UsersController(IUserService userService, IAuditTrailService auditTrailService)
 {
     _userService       = userService;
     _auditTrailService = auditTrailService;
 }
Example #34
0
 public VulnerabilitiesController(IVulnerabilityService vulnerabilityService, IRelationshipService relationshipService, IAuditTrailService auditTrailService)
 {
     _vulnerabilityService = vulnerabilityService;
     _relationshipService  = relationshipService;
     _auditTrailService    = auditTrailService;
 }