public string GetTourney(UserInfo _data, TourneyInt _t) { TourneyManager tm = new TourneyManager(); Tournament t = tm.GetTournament(_data.username, _t.tid); return(JsonConvert.SerializeObject(t)); }
public void AddManager(UserInfo _data, TourneyInt _t) { TourneyManager tm = new TourneyManager(); tm.UpdatePlevel(_data.email, _t.tid, 1); }
public void UpdateMatchup(Matchup match, TourneyInt _t) { TourneyManager tm = new TourneyManager(); tm.UpdateMatchup(match, _t.tid); }