ActivEarth.Server.Service.Competition.ContestManager.LockContest C# (CSharp) Method

LockContest() public static method

Locks competitor initial values such that the calculation of deltas can begin (to calculate team scores).
public static LockContest ( int contestId ) : void
contestId int
return void
        public static void LockContest(int contestId)
        {
            List<ContestTeam> teams = TeamDAO.GetTeamsFromContestId(contestId, true);

            foreach (ContestTeam team in teams)
            {
                TeamDAO.LockTeam(team);
            }
        }