コード例 #1
0
 //TODO: Global Data y Data Rerence tienen que estar en un controlador base
 public MR_Detalle_PlatilloController(IMR_Detalle_PlatilloService service, ISpartan_Bitacora_SQLService bitacoraService)
 {
     this.service     = service;
     serviceBitacora  = bitacoraService;
     baseApi          = ConfigurationManager.AppSettings["DBBaseURL"].ToString();
     ApiControllerUrl = "api/MR_Detalle_Platillo";
 }
コード例 #2
0
 public MR_Detalle_PlatilloController(IMR_Detalle_PlatilloService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, IMR_Detalle_PlatilloApiConsumer MR_Detalle_PlatilloApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, IIngredientesApiConsumer IngredientesApiConsumer, IUnidades_de_MedidaApiConsumer Unidades_de_MedidaApiConsumer)
 {
     this.service = service;
     this._IAuthenticationApiConsumer      = authenticationApiConsumer;
     this._IMR_Detalle_PlatilloApiConsumer = MR_Detalle_PlatilloApiConsumer;
     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._IIngredientesApiConsumer                    = IngredientesApiConsumer;
     this._IUnidades_de_MedidaApiConsumer              = Unidades_de_MedidaApiConsumer;
 }