Esempio n. 1
0
 public Spartan_BR_StatusController(ISpartan_BR_StatusService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, ISpartan_BR_StatusApiConsumer Spartan_BR_StatusApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer)
 {
     this.service = service;
     this._IAuthenticationApiConsumer    = authenticationApiConsumer;
     this._ISpartan_BR_StatusApiConsumer = Spartan_BR_StatusApiConsumer;
     this._userCredential            = SessionHelper.UserCredential;
     this._tokenManager              = tokenManager;
     this._ISpartane_FileApiConsumer = Spartane_FileApiConsumer;
 }
 //TODO: Global Data y Data Rerence tienen que estar en un controlador base
 public Spartan_BR_StatusController(ISpartan_BR_StatusService service)
 {
     this.service     = service;
     baseApi          = ConfigurationManager.AppSettings["DBBaseURL"].ToString();
     ApiControllerUrl = "api/Spartan_BR_Status";
 }