Exemple #1
0
 //TODO: Global Data y Data Rerence tienen que estar en un controlador base
 public PresentacionController(IPresentacionService service, ISpartan_Bitacora_SQLService bitacoraService)
 {
     this.service     = service;
     serviceBitacora  = bitacoraService;
     baseApi          = ConfigurationManager.AppSettings["DBBaseURL"].ToString();
     ApiControllerUrl = "api/Presentacion";
 }
Exemple #2
0
 public usercPresentacion()
 {
     InitializeComponent();
     preservice = new PresentacionService();
     proservice = new ProductoService();
     dgPresentacion.AutoGenerateColumns = false;
     dgProductos.AutoGenerateColumns    = false;
 }
 public usercProducto()
 {
     InitializeComponent();
     dgProductos.AutoGenerateColumns = false;
     pservice  = new ProductoService();
     mservice  = new MarcaService();
     prservice = new PresentacionService();
     cservice  = new CategoriaService();
     lservice  = new LaboratorioService();
 }
Exemple #4
0
 public usercRegistrarOrden()
 {
     InitializeComponent();
     dgProductos.AutoGenerateColumns = false;
     dgIngresos.AutoGenerateColumns  = false;
     pservice  = new ProductoService();
     mservice  = new MarcaService();
     prservice = new PresentacionService();
     cservice  = new CategoriaService();
     iservice  = new IngresoService();
 }
 public PresentacionController(IPresentacionService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, IPresentacionApiConsumer PresentacionApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, ISpartan_FormatApiConsumer Spartan_FormatApiConsumer, ISpartan_Format_PermissionsApiConsumer Spartan_Format_PermissionsApiConsumer, IGeneratePDFApiConsumer GeneratePDFApiConsumer, ISpartan_Format_RelatedApiConsumer Spartan_Format_RelatedApiConsumer)
 {
     this.service = service;
     this._IAuthenticationApiConsumer = authenticationApiConsumer;
     this._IPresentacionApiConsumer   = PresentacionApiConsumer;
     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._ISpartan_FormatApiConsumer                  = Spartan_FormatApiConsumer;
     this._ISpartan_Format_PermissionsApiConsumer      = Spartan_Format_PermissionsApiConsumer;
     this._IGeneratePDFApiConsumer           = GeneratePDFApiConsumer;
     this._ISpartan_FormatRelatedApiConsumer = Spartan_Format_RelatedApiConsumer;
 }