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