//TODO: Global Data y Data Rerence tienen que estar en un controlador base public Detalle_Antecedentes_No_PatologicosController(IDetalle_Antecedentes_No_PatologicosService service, ISpartan_Bitacora_SQLService bitacoraService) { this.service = service; serviceBitacora = bitacoraService; baseApi = ConfigurationManager.AppSettings["DBBaseURL"].ToString(); ApiControllerUrl = "api/Detalle_Antecedentes_No_Patologicos"; }
public Detalle_Antecedentes_No_PatologicosController(IDetalle_Antecedentes_No_PatologicosService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, IDetalle_Antecedentes_No_PatologicosApiConsumer Detalle_Antecedentes_No_PatologicosApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, ISustanciasApiConsumer SustanciasApiConsumer, IFrecuencia_SustanciasApiConsumer Frecuencia_SustanciasApiConsumer) { this.service = service; this._IAuthenticationApiConsumer = authenticationApiConsumer; this._IDetalle_Antecedentes_No_PatologicosApiConsumer = Detalle_Antecedentes_No_PatologicosApiConsumer; 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._ISustanciasApiConsumer = SustanciasApiConsumer; this._IFrecuencia_SustanciasApiConsumer = Frecuencia_SustanciasApiConsumer; }