//TODO: Global Data y Data Rerence tienen que estar en un controlador base public Detalle_Suscripciones_EmpresaController(IDetalle_Suscripciones_EmpresaService service, ISpartan_Bitacora_SQLService bitacoraService) { this.service = service; serviceBitacora = bitacoraService; baseApi = ConfigurationManager.AppSettings["DBBaseURL"].ToString(); ApiControllerUrl = "api/Detalle_Suscripciones_Empresa"; }
public Detalle_Suscripciones_EmpresaController(IDetalle_Suscripciones_EmpresaService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, IDetalle_Suscripciones_EmpresaApiConsumer Detalle_Suscripciones_EmpresaApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, IPlanes_de_SuscripcionApiConsumer Planes_de_SuscripcionApiConsumer, IFrecuencia_de_pago_EmpresasApiConsumer Frecuencia_de_pago_EmpresasApiConsumer, IEstatus_de_SuscripcionApiConsumer Estatus_de_SuscripcionApiConsumer) { this.service = service; this._IAuthenticationApiConsumer = authenticationApiConsumer; this._IDetalle_Suscripciones_EmpresaApiConsumer = Detalle_Suscripciones_EmpresaApiConsumer; 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._IPlanes_de_SuscripcionApiConsumer = Planes_de_SuscripcionApiConsumer; this._IFrecuencia_de_pago_EmpresasApiConsumer = Frecuencia_de_pago_EmpresasApiConsumer; this._IEstatus_de_SuscripcionApiConsumer = Estatus_de_SuscripcionApiConsumer; }