public Spartan_Report_Field_TypeController(ISpartan_Report_Field_TypeService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, ISpartan_Report_Field_TypeApiConsumer Spartan_Report_Field_TypeApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer) { this.service = service; this._IAuthenticationApiConsumer = authenticationApiConsumer; this._ISpartan_Report_Field_TypeApiConsumer = Spartan_Report_Field_TypeApiConsumer; 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; }
//TODO: Global Data y Data Rerence tienen que estar en un controlador base public Spartan_Report_Field_TypeController(ISpartan_Report_Field_TypeService service) { this.service = service; baseApi = ConfigurationManager.AppSettings["DBBaseURL"].ToString(); ApiControllerUrl = "api/Spartan_Report_Field_Type"; }