public Spartan_BR_OperationController(ISpartan_BR_OperationService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, ISpartan_BR_OperationApiConsumer Spartan_BR_OperationApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer) { this.service = service; this._IAuthenticationApiConsumer = authenticationApiConsumer; this._ISpartan_BR_OperationApiConsumer = Spartan_BR_OperationApiConsumer; 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_OperationController(ISpartan_BR_OperationService service) { this.service = service; baseApi = ConfigurationManager.AppSettings["DBBaseURL"].ToString(); ApiControllerUrl = "api/Spartan_BR_Operation"; }