//TODO: Global Data y Data Rerence tienen que estar en un controlador base public MR_Referenciados_Codigo_de_DescuentoController(IMR_Referenciados_Codigo_de_DescuentoService service, ISpartan_Bitacora_SQLService bitacoraService) { this.service = service; serviceBitacora = bitacoraService; baseApi = ConfigurationManager.AppSettings["DBBaseURL"].ToString(); ApiControllerUrl = "api/MR_Referenciados_Codigo_de_Descuento"; }
public MR_Referenciados_Codigo_de_DescuentoController(IMR_Referenciados_Codigo_de_DescuentoService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, IMR_Referenciados_Codigo_de_DescuentoApiConsumer MR_Referenciados_Codigo_de_DescuentoApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, ITipo_PacienteApiConsumer Tipo_PacienteApiConsumer, ISpartan_UserApiConsumer Spartan_UserApiConsumer) { this.service = service; this._IAuthenticationApiConsumer = authenticationApiConsumer; this._IMR_Referenciados_Codigo_de_DescuentoApiConsumer = MR_Referenciados_Codigo_de_DescuentoApiConsumer; 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._ITipo_PacienteApiConsumer = Tipo_PacienteApiConsumer; this._ISpartan_UserApiConsumer = Spartan_UserApiConsumer; }