ActivEarth.DAO.ChallengeDAO.GetActiveWeeklyChallenges C# (CSharp) Method

GetActiveWeeklyChallenges() public static method

Retrieves all currently active weekly challenges.
public static GetActiveWeeklyChallenges ( int userId ) : List
userId int Optional. UserID to load challenge progress from.
return List
        public static List<Challenge> GetActiveWeeklyChallenges(int userId = 0)
        {
            return GetActiveChallengesByDuration(7, userId);
        }