//TODO: Global Data y Data Rerence tienen que estar en un controlador base
 public Detalle_Planes_AlimenticiosController(IDetalle_Planes_AlimenticiosService service, ISpartan_Bitacora_SQLService bitacoraService)
 {
     this.service     = service;
     serviceBitacora  = bitacoraService;
     baseApi          = ConfigurationManager.AppSettings["DBBaseURL"].ToString();
     ApiControllerUrl = "api/Detalle_Planes_Alimenticios";
 }
Beispiel #2
0
 public Detalle_Planes_AlimenticiosController(IDetalle_Planes_AlimenticiosService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, IDetalle_Planes_AlimenticiosApiConsumer Detalle_Planes_AlimenticiosApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, ITiempos_de_ComidaApiConsumer Tiempos_de_ComidaApiConsumer, IDias_de_la_semanaApiConsumer Dias_de_la_semanaApiConsumer, IPlatillosApiConsumer PlatillosApiConsumer)
 {
     this.service = service;
     this._IAuthenticationApiConsumer = authenticationApiConsumer;
     this._IDetalle_Planes_AlimenticiosApiConsumer = Detalle_Planes_AlimenticiosApiConsumer;
     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._ITiempos_de_ComidaApiConsumer               = Tiempos_de_ComidaApiConsumer;
     this._IDias_de_la_semanaApiConsumer               = Dias_de_la_semanaApiConsumer;
     this._IPlatillosApiConsumer                       = PlatillosApiConsumer;
 }