예제 #1
0
        public async Task <int> UpdateAsync(UserInfo userInfo)
        {
            string sql = "UPDATE JH_userinfo SET password = @password WHERE username = @username";

            return(await DapperHelper.ExecuteAsync(sql, userInfo));
        }