public ChatController(IChatService chatService, ICryptographyService cryptographyService, IAppLogService appLogService, IUserService userService) { _chatService = chatService; _cryptographyService = cryptographyService; _appLogService = appLogService; _userService = userService; }
public FormUserInfoController(IFormUserInfoService formUserInfoService, IUserService userService, IAppLogService appLogService) { _formUserInfoService = formUserInfoService; _userService = userService; _appLogService = appLogService; _currentUserId = _userService.GetCurrentUserId(); }
public UserEducationController(IUserEducationService userEduService, IUserService service, IAppLogService appLogService) { _userEduService = userEduService; _userService = service; _appLogService = appLogService; _currentId = _userService.GetCurrentUserId(); }
public IssueLogForAdminController(IIssueLogForAdminService issueLogForAdminService, IAppLogService appLogService, IUserService userService, IEmailMessenger emailMessenger, IEmailTemplateService emailTemplateService) { _issueLogForAdminService = issueLogForAdminService; _appLogService = appLogService; _userService = userService; _emailMessenger = emailMessenger; _emailTemplateService = emailTemplateService; }
public ChargeController(IChargeService ChargeService, IUserService userService, IUserBaseService userBaseService, IAppLogService appLogService) { _chargeService = ChargeService; _userService = userService; _userBaseService = userBaseService; _currentUserId = _userService.GetCurrentUserId(); _appLogService = appLogService; }
public OrgMemRegController(IOrgMemRegService orgMemRegService, IUserService userService, IEmailMessenger emailMessenger, IEmailTemplateService emailTemplateService, IAppLogService appLogService) { _orgMemRegService = orgMemRegService; _userService = userService; _emailMessenger = emailMessenger; _emailTemplateService = emailTemplateService; _appLogService = appLogService; }
public AppTokenController(IAppTokenService appTokenService, IEmailMessenger emailMessenger, IAppLogService appLogService, IUserService userService, IEmailTemplateService emailTemplateService) { _appTokenService = appTokenService; _emailMessenger = emailMessenger; _appLogService = appLogService; _userService = userService; _emailTemplateService = emailTemplateService; currentUserId = _userService.GetCurrentUserId(); }
public ApplyEmailController(IJobPostingsService jobPostingsService, IAppLogService appLogService, IEmailTemplateService emailTemplateService, IEmailMessenger emailMessenger, IUserService userService) { _jobPostingsService = jobPostingsService; _appLogService = appLogService; _emailMessenger = emailMessenger; _emailTemplateService = emailTemplateService; _userService = userService; }
public AdminController(ILogger log, IAppLogService appLogSrv, IContactService contactSrv, IArticleService articleSrv, IMapper mapper, IPageContentService pageContentSrv) { _log = log; _appLogSrv = appLogSrv; _contactSrv = contactSrv; _articleSrv = articleSrv; _mapper = mapper; _pageContentSrv = pageContentSrv; }
/// <summary> /// /// </summary> public AppLogsController(ILoggerUnitOfWork uow, IAppLogService appLogItemService, IOptions <DbLoggerOptions> options) { _uow = uow; _appLogItemService = appLogItemService; _options = options.Value; pageSize = 0; recordsPerPage = 8; totalItemCount = 0; }
public void SendNotificationTest() { Notification notification = CreateNewNotification((short)EntityEnums.NotificationTemplateEnum.TestNotification); notification.IsSMS = true; notification.IsMobilePushMessage = true; INotificationService service = (INotificationService) EntityFactory.GetEntityServiceByName(vNotification.EntityName, ""); service.Insert(notification, new InsertParameters()); vNotification nSaved = (vNotification)service.GetByID(notification.NotificationID, new GetByIDParameters(GetSourceTypeEnum.View)); NotificationSenderAgent.SendNotification(nSaved); // Check that log inserted for all notifications (no error happened anywhere) IAppLogService logService = (IAppLogService) EntityFactory.GetEntityServiceByName(AppLog.EntityName, ""); FilterExpression filter = new FilterExpression(new Filter(AppLog.ColumnNames.ExtraBigInt, nSaved.NotificationID)); FilterExpression f2 = new FilterExpression(); f2.AddFilter(new Filter(AppLog.ColumnNames.AppLogTypeID, (int)EntityEnums.AppLogType.Notify_Email)); f2.AddFilter(new Filter(AppLog.ColumnNames.AppLogTypeID, (int)EntityEnums.AppLogType.Notify_MobilePush)); f2.AddFilter(new Filter(AppLog.ColumnNames.AppLogTypeID, (int)EntityEnums.AppLogType.Notify_SMS)); f2.LogicalOperator = FilterLogicalOperatorEnum.OR; filter.AndMerge(f2); long logCount = logService.GetCount(filter); Assert.AreEqual(2, logCount, "EMAIL, SMS has not saved in logs. So, error in media"); // check that all parameters are valid after save vNotification nSaved2 = (vNotification)service.GetByID(notification.NotificationID, new GetByIDParameters(GetSourceTypeEnum.View)); Assert.IsNull(nSaved2.NotificationErrorMessage); Assert.IsNotNull(nSaved2.EmailSendDate); Assert.IsNotNull(nSaved2.SMSSendDate); }
public SearchBarController(ISearchBarResultsService searchBarResultsService, IAppLogService appLogService, IUserService userService) { _searchBarResultsService = searchBarResultsService; _userService = userService; _appLogService = appLogService; }
public EventTypeController(IEventTypeService eventTypeService, IAppLogService appLogService, IUserService userService) { _eventTypeService = eventTypeService; _appLogService = appLogService; _userService = userService; }
public AppLogsController(IAppLogService service, ILogger <AppLogsController> logger) { this.service = service; this.logger = logger; }
public AwardTypeController(IAwardTypeService awardTypeService, IAppLogService appLogService, IUserService userService) { _awardTypeService = awardTypeService; _appLogService = appLogService; _userService = userService; }
public GetFullNameQueryBody(IAppLogService appLogService) : base(appLogService) { }
public AppTokenTypeController(IAppTokenTypeService attService, IAppLogService appLogService, IUserService userService) { _attService = attService; _appLogService = appLogService; _userService = userService; }
protected QueryBodyBase(IAppLogService appLogService) { _appLogService = appLogService; }
public UserManagmemtController(IUserManagementService userManagementService, IAppLogService appLogService, IUserService userService) { _userManagementService = userManagementService; _appLogService = appLogService; _userService = userService; }
public NotificationController(INotificationService notificationService, IUserService service, IAppLogService appLogService) { _notificationService = notificationService; _appLogService = appLogService; _service = service; }
public GetSalutationQueryBody(IAppLogService appLogService) : base(appLogService) { }
public ChatMessageController(IChatMessageService chatMessageService, IAppLogService appLogService, IUserService userService) { _chatMessageService = chatMessageService; _appLogService = appLogService; _userService = userService; }
public AddressTypeController(IAddressTypeService addressTypeService, IAppLogService appLogService, IUserService userService) { _addressTypeService = addressTypeService; _appLogService = appLogService; _userService = userService; }
public AwsFileUploadController(IAwsFileUpload awsFileUpload, IAppLogService appLogService, IUserService userService) { _awsFileUpload = awsFileUpload; _appLogService = appLogService; _userService = userService; }
public OrganizationByUserBaseController(IOrganizationByUserBaseService organizationByUserBaseService, IUserService userService, IAppLogService appLogService) { _organizationByUserBaseService = organizationByUserBaseService; _userService = userService; _appLogService = appLogService; }
public HomeController(IAppLogService appLogService) { _appLogService = appLogService; }
public AppLogController(IAppLogService LogService) { _AppLogService = LogService; }
public LanguageTypeController(ILanguageTypeService languageTypeService, IAppLogService appLogService, IUserService userService) { _languageTypeService = languageTypeService; _appLogService = appLogService; _userService = userService; }
public HealthCheck(Options options, Ws.Core.Extensions.HealthCheck.Checks.AppLog.IAppLogService service) { _options = options ?? throw new ArgumentNullException(nameof(options)); _service = service ?? throw new ArgumentNullException(nameof(service)); }
public EventController(IEventService service, IUserService userService, IAppLogService appLogService) { _Service = service; _userService = userService; _appLogService = appLogService; }