public static bool UpdateUser(LinkAddressInfo linkAddress) { using (DapperDb db = DapperDbFactory.CreateDb()) { return(db.Update <LinkAddressInfo>(linkAddress)); } }
public static bool UpdateUser(FateUserInfo user) { using (DapperDb db = DapperDbFactory.CreateDb()) { return(db.Update <FateUserInfo>(user)); } }