public static JoinMember upWage(JoinMember member) { JoinMember updatedMember = new JoinMember(); updatedMember.Name = member.Name; updatedMember.Username = member.Username; updatedMember.BetWage = member.BetWage + Constants.UP_WAGE; updatedMember.wageUpVote = false; return(updatedMember); }
public static JoinMember save() { JoinMember member = new JoinMember(); member.Name = AuthUser.Instance.Name; member.Username = AuthUser.Instance.Username; member.BetWage = AuthUser.Instance.BetWage; member.wageUpVote = AuthUser.Instance.wageUpVote; return(member); }