public async Task <int> UpdateAsync(UserInfo userInfo) { string sql = "UPDATE JH_userinfo SET password = @password WHERE username = @username"; return(await DapperHelper.ExecuteAsync(sql, userInfo)); }
public async Task <int> UpdateAsync(UserInfo userInfo) { string sql = "UPDATE JH_userinfo SET password = @password WHERE username = @username"; return(await DapperHelper.ExecuteAsync(sql, userInfo)); }