Example #1
0
 public IActionResult ScopeSrv()
 {
     _logger.Log("ScopeSrv Inicio");
     _comando.ScopedService();
     return(Ok(new
     {
         valor = _scopeSrv.Ejecutar()
     }));
 }
Example #2
0
 public void ScopedService()
 {
     _logger.Log("Comando1::ScopedService " + _scopeSrv.GetHashCode());
     _scopeSrv.Ejecutar();
 }