public static AlunoRepository GetInstance()
        {
            if (_instance == null)
            {
                _instance = new AlunoRepository();
            }

            return(_instance);
        }
Exemple #2
0
 private TurmaRepository()
 {
     AlunoRepository = AlunoRepository.GetInstance();
 }