public Spartan_BR_Peer_ReviewController(ISpartan_BR_Peer_ReviewService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, ISpartan_BR_Peer_ReviewApiConsumer Spartan_BR_Peer_ReviewApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, ISpartan_UserApiConsumer Spartan_UserApiConsumer, ISpartan_BR_Rejection_ReasonApiConsumer Spartan_BR_Rejection_ReasonApiConsumer)
 {
     this.service = service;
     this._IAuthenticationApiConsumer         = authenticationApiConsumer;
     this._ISpartan_BR_Peer_ReviewApiConsumer = Spartan_BR_Peer_ReviewApiConsumer;
     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_UserApiConsumer                    = Spartan_UserApiConsumer;
     this._ISpartan_BR_Rejection_ReasonApiConsumer     = Spartan_BR_Rejection_ReasonApiConsumer;
 }
Ejemplo n.º 2
0
 //TODO: Global Data y Data Rerence tienen que estar en un controlador base
 public Spartan_BR_Peer_ReviewController(ISpartan_BR_Peer_ReviewService service)
 {
     this.service     = service;
     baseApi          = ConfigurationManager.AppSettings["DBBaseURL"].ToString();
     ApiControllerUrl = "api/Spartan_BR_Peer_Review";
 }