Exemplo n.º 1
0
 public RespuestasController()
 {
     _evaluacionService    = ServiceLocator.Current.GetInstance <IEvaluacionService>();
     _estandarService      = ServiceLocator.Current.GetInstance <IEstandarService>();
     _respuestaService     = ServiceLocator.Current.GetInstance <IRespuestaService>();
     _statusService        = ServiceLocator.Current.GetInstance <IStatusService>();
     _authorizationService = new AuthorizationService();
 }
Exemplo n.º 2
0
 public RespuestaController(IRespuestaService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, IRespuestaApiConsumer RespuestaApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, ISpartan_FormatApiConsumer Spartan_FormatApiConsumer, ISpartan_Format_PermissionsApiConsumer Spartan_Format_PermissionsApiConsumer, IGeneratePDFApiConsumer GeneratePDFApiConsumer, ISpartan_Format_RelatedApiConsumer Spartan_Format_RelatedApiConsumer)
 {
     this.service = service;
     this._IAuthenticationApiConsumer = authenticationApiConsumer;
     this._IRespuestaApiConsumer      = RespuestaApiConsumer;
     this._userCredential             = SessionHelper.UserCredential;
     this._tokenManager = tokenManager;
     this._ISpartane_FileApiConsumer                   = Spartane_FileApiConsumer;
     this._ISpartan_Business_RuleApiConsumer           = Spartan_Business_RuleApiConsumer;
     this._ISpartan_BR_Process_Event_DetailApiConsumer = Spartan_BR_Process_Event_DetailApiConsumer;
     this._ISpartan_FormatApiConsumer                  = Spartan_FormatApiConsumer;
     this._ISpartan_Format_PermissionsApiConsumer      = Spartan_Format_PermissionsApiConsumer;
     this._IGeneratePDFApiConsumer           = GeneratePDFApiConsumer;
     this._ISpartan_FormatRelatedApiConsumer = Spartan_Format_RelatedApiConsumer;
 }
Exemplo n.º 3
0
 public EvaluacionService(
     IEvaluacionRepository evaluacionRepository,
     ITipoEvaluacionRepository tipoEvaluacionRepository,
     IEventLogService eventLogService,
     IPosicionRepository posicionRepository,
     IStatusService statusService,
     IImagenEvaluacionRepository imagenEvaluacionRepository,
     IRespuestaService respuestaService, IEstandarService estandarService)
 {
     _evaluacionRepository       = evaluacionRepository;
     _tipoEvaluacionRepository   = tipoEvaluacionRepository;
     _eventLogService            = eventLogService;
     _posicionRepository         = posicionRepository;
     _statusService              = statusService;
     _imagenEvaluacionRepository = imagenEvaluacionRepository;
     _respuestaService           = respuestaService;
     _estandarService            = estandarService;
 }