//TODO: Global Data y Data Rerence tienen que estar en un controlador base
 public Detalle_Convenio_Medicos_AseguradorasController(IDetalle_Convenio_Medicos_AseguradorasService service, ISpartan_Bitacora_SQLService bitacoraService)
 {
     this.service     = service;
     serviceBitacora  = bitacoraService;
     baseApi          = ConfigurationManager.AppSettings["DBBaseURL"].ToString();
     ApiControllerUrl = "api/Detalle_Convenio_Medicos_Aseguradoras";
 }
示例#2
0
 public Detalle_Convenio_Medicos_AseguradorasController(IDetalle_Convenio_Medicos_AseguradorasService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, IDetalle_Convenio_Medicos_AseguradorasApiConsumer Detalle_Convenio_Medicos_AseguradorasApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, IAseguradorasApiConsumer AseguradorasApiConsumer)
 {
     this.service = service;
     this._IAuthenticationApiConsumer = authenticationApiConsumer;
     this._IDetalle_Convenio_Medicos_AseguradorasApiConsumer = Detalle_Convenio_Medicos_AseguradorasApiConsumer;
     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._IAseguradorasApiConsumer                    = AseguradorasApiConsumer;
 }