public Locatie GetLocatie(int id)
        {
            var p = _puzzelRepo.GetPuzzel(id);

            if (p == null)
            {
                return(null);
            }
            return(_puzzelRepo.GetPuzzel(id).Locatie);
        }
Ejemplo n.º 2
0
        public Puzzel ActivePuzzel(int Id)
        {
            var t = GetTeam(Id);

            if (t == null)
            {
                return(null);
            }
            if (t.ActivePuzzel == -1)
            {
                return(null);
            }
            var p = _puzzelRepo.GetPuzzel(t.ActivePuzzel);

            return(p);
        }