Пример #1
0
        public async Task <Boolean> UpdateUserPassword(Guid id, string oldPass, string newPass)
        {
            var queryString = string.Format(_changeUserPassword, id, GetHash(sha256Hash, oldPass), GetHash(sha256Hash, newPass));

            return(await _sqlClient.ExecuteQueryCheck(queryString));
        }