ActivEarth.DAO.ChallengeDAO.GetActiveMonthlyChallenges C# (CSharp) Метод

GetActiveMonthlyChallenges() публичный статический Метод

Retrieves all currently active monthly challenges.
public static GetActiveMonthlyChallenges ( int userId ) : List
userId int Optional. UserID to load challenge progress from.
Результат List
        public static List<Challenge> GetActiveMonthlyChallenges(int userId = 0)
        {
            return GetActiveChallengesByDuration(DateTime.DaysInMonth(DateTime.Now.Year, DateTime.Now.Month), userId);
        }