Esempio n. 1
0
        public void InsertUserProfileAudit(int userId, UserAuditType auditType, int auditedBy, string password)
        {
            var hashedPassword = string.Empty;

            if (password != null)
            {
                hashedPassword = new PasswordHasher().HashPassword(password);
            }
            userRepository.InsertUserProfileAudit(userId, auditType, auditedBy, hashedPassword);
        }
Esempio n. 2
0
        void InsertProfileAudit(IEnumerable <int> userId, UserAuditType auditType, string password, int auditedBy)
        {
            InsertProfileAuditRequest profileRequest = new InsertProfileAuditRequest()
            {
                UserId    = userId,
                AuditType = auditType,
                Password  = password,
                AuditedBy = auditedBy
            };

            userService.InsertProfileAudit(profileRequest);
        }
        public void InsertUserProfileAudit(int userId, UserAuditType auditType, int auditedBy, string password)
        {
            var userStore = Store as UserStore;

            userStore.InsertUserProfileAudit(userId, auditType, auditedBy, password);
        }