Example #1
0
 //TODO: Global Data y Data Rerence tienen que estar en un controlador base
 public MS_Campos_por_FuncionalidadController(IMS_Campos_por_FuncionalidadService service, ISpartan_Bitacora_SQLService bitacoraService)
 {
     this.service     = service;
     serviceBitacora  = bitacoraService;
     baseApi          = ConfigurationManager.AppSettings["DBBaseURL"].ToString();
     ApiControllerUrl = "api/MS_Campos_por_Funcionalidad";
 }
Example #2
0
 public MS_Campos_por_FuncionalidadController(IMS_Campos_por_FuncionalidadService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, IMS_Campos_por_FuncionalidadApiConsumer MS_Campos_por_FuncionalidadApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, INombre_del_campo_en_MSApiConsumer Nombre_del_campo_en_MSApiConsumer)
 {
     this.service = service;
     this._IAuthenticationApiConsumer = authenticationApiConsumer;
     this._IMS_Campos_por_FuncionalidadApiConsumer = MS_Campos_por_FuncionalidadApiConsumer;
     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._INombre_del_campo_en_MSApiConsumer          = Nombre_del_campo_en_MSApiConsumer;
 }