Exemplo n.º 1
0
        public static List <PropertyItem> Excercise(int cultureId, bool addDefault)
        {
            List <PropertyItem> r = new List <PropertyItem>();

            var x = from a in Properties.Excercise where a.CultureId == cultureId select a;

            r = x.ToList <PropertyItem>();

            UsersProperties.AddDefaultItem(r, addDefault);

            return(r);
        }
Exemplo n.º 2
0
        public static List <PropertyItem> FreeTimeFavorites(int cultureId, bool addDefault)
        {
            List <PropertyItem> r = new List <PropertyItem>();

            var x = from a in Properties.FreeTimeFavorites where a.CultureId == cultureId select a;

            r = x.ToList <PropertyItem>();

            UsersProperties.AddDefaultItem(r, addDefault);

            return(r);
        }