Example #1
0
        public static AlunoRepository GetInstance()
        {
            if (_instance == null)
            {
                _instance = new AlunoRepository();
            }

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