Example #1
0
 protected override void OnActionExecuted(ActionExecutedContext filterContext)
 {
     _empresaService.Dispose();
     _enderecoService.Dispose();
     _estacaoService.Dispose();
     _localizacaoService.Dispose();
     _pacoteService.Dispose();
     _rotaService.Dispose();
     _veiculoService.Dispose();
     _ocorrenciaService.Dispose();
 }
Example #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;
        }