Example #1
0
        public void Dispose()
        {
            _pedidoRepository.Dispose();
            _unitOfWork.Dispose();
            _ingredienteRepository.Dispose();
            _lancheRepository.Dispose();
            _pedidoIngredienteRepository.Dispose();

            GC.SuppressFinalize(this);
        }
Example #2
0
 public void Dispose()
 {
     _lancheRepository.Dispose();
     GC.SuppressFinalize(this);
 }
 public void Dispose()
 {
     _repoLanche.Dispose();
 }