Beispiel #1
0
 protected override void OnActionExecuted(ActionExecutedContext filterContext)
 {
     _empresaService.Dispose();
     _enderecoService.Dispose();
     _estacaoService.Dispose();
     _localizacaoService.Dispose();
     _pacoteService.Dispose();
     _rotaService.Dispose();
     _veiculoService.Dispose();
     _ocorrenciaService.Dispose();
 }
Beispiel #2
0
        protected override void OnActionExecuted(ActionExecutedContext filterContext)
        {
            _empresaService.Dispose();
            _enderecoService.Dispose();
            _estacaoService.Dispose();
            _localizacaoService.Dispose();
            _pacoteService.Dispose();
            _rotaService.Dispose();
            _usuarioService.Dispose();
            _veiculoService.Dispose();

            _requestBody = null;
            _user        = null;
        }