//TODO: Global Data y Data Rerence tienen que estar en un controlador base public Detalle_Pagos_PacienteController(IDetalle_Pagos_PacienteService service, ISpartan_Bitacora_SQLService bitacoraService) { this.service = service; serviceBitacora = bitacoraService; baseApi = ConfigurationManager.AppSettings["DBBaseURL"].ToString(); ApiControllerUrl = "api/Detalle_Pagos_Paciente"; }
public Detalle_Pagos_PacienteController(IDetalle_Pagos_PacienteService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, IDetalle_Pagos_PacienteApiConsumer Detalle_Pagos_PacienteApiConsumer, 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, IFormas_de_PagoApiConsumer Formas_de_PagoApiConsumer, IEstatus_de_PagoApiConsumer Estatus_de_PagoApiConsumer) { this.service = service; this._IAuthenticationApiConsumer = authenticationApiConsumer; this._IDetalle_Pagos_PacienteApiConsumer = Detalle_Pagos_PacienteApiConsumer; 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._IFormas_de_PagoApiConsumer = Formas_de_PagoApiConsumer; this._IEstatus_de_PagoApiConsumer = Estatus_de_PagoApiConsumer; }