Example #1
0
 //TODO: Global Data y Data Rerence tienen que estar en un controlador base
 public MS_Equipamiento_Alterno_EjerciciosController(IMS_Equipamiento_Alterno_EjerciciosService service, ISpartan_Bitacora_SQLService bitacoraService)
 {
     this.service     = service;
     serviceBitacora  = bitacoraService;
     baseApi          = ConfigurationManager.AppSettings["DBBaseURL"].ToString();
     ApiControllerUrl = "api/MS_Equipamiento_Alterno_Ejercicios";
 }
 public MS_Equipamiento_Alterno_EjerciciosController(IMS_Equipamiento_Alterno_EjerciciosService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, IMS_Equipamiento_Alterno_EjerciciosApiConsumer MS_Equipamiento_Alterno_EjerciciosApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, IEquipamiento_Alterno_para_EjerciciosApiConsumer Equipamiento_Alterno_para_EjerciciosApiConsumer)
 {
     this.service = service;
     this._IAuthenticationApiConsumer = authenticationApiConsumer;
     this._IMS_Equipamiento_Alterno_EjerciciosApiConsumer = MS_Equipamiento_Alterno_EjerciciosApiConsumer;
     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._IEquipamiento_Alterno_para_EjerciciosApiConsumer = Equipamiento_Alterno_para_EjerciciosApiConsumer;
 }