Example #1
0
 public Pagamento()
 {
     serviceCliente = new ClienteService();
     servicePayment = new PaymentService();
     serviceParametro = new ParametroService();
     serviceEmail = new EmailPayment();
 }
Example #2
0
 public CortesiaSimulado()
 {
     serviceCortesia = new CortesiaService();
     serviceResposta = new RespostaService();
     serviceCorResposta = new CorRespostaService();
     serviceSimulado = new CorSimuladoService();
     simuladoCor = new CorSimuladoService();
     parametro = new ParametroService();
 }
        public ParametroModel InsertParametro(ParametroModel param)
        {
            var model = Mapper.Map <ParametroModel, SAX_PARAMETRO>(param);

            IParam = IParam ?? new Parametro();
            var modelresult = IParam.InsertParametro(model);

            return(Mapper.Map <SAX_PARAMETRO, ParametroModel>(modelresult));
        }
 public Comprobante(IRepositoryContext repositoryContext, IComprobanteDetalle detalle, IPartidas partida, IUsuarioArea usuarioArea)
     : base(repositoryContext)
 {
     cdService          = detalle ?? new ComprobanteDetalle();
     parService         = partida ?? new Partidas();
     usuarioAreaService = usuarioArea ?? new UsuarioArea();
     parametroService   = parametroService ?? new Parametro();
     partidasService    = partidasService ?? new Partidas();
 }
 public Comprobante(IRepositoryContext repositoryContext)
     : base(repositoryContext)
 {
     cdService             = cdService ?? new ComprobanteDetalle();
     parService            = parService ?? new Partidas();
     usuarioAreaService    = usuarioAreaService ?? new UsuarioArea();
     parametroService      = parametroService ?? new Parametro();
     partidasService       = partidasService ?? new Partidas();
     usuarioEmpresaService = usuarioEmpresaService ?? new UsuarioEmpresa();
     empresaService        = empresaService ?? new Empresa();
 }
Example #6
0
        private void BindGrid(int currentPage)
        {
            SisPackController.AdministrarGrillas.Configurar(dtgParametro, "ParametroID", 10);

            IParametro parametro = ParametroFactory.GetParametro();

            parametro.ParametroDescrip = this.txtParametro.Text;
            IUsuarios usuario = (IUsuarios)Session["Usuario"];

            dtgParametro.DataSource = parametro.GetParametro(usuario.UnidadNegocioID);


            // actualizo la grilla
            dtgParametro.CurrentPageIndex = currentPage;
            dtgParametro.DataBind();
        }
Example #7
0
 public CortesiaResultado()
 {
     _parametro = new ParametroService();
 }
 public ParametroService(IParametro objIPar)
     : this(new Parametro())
 {
     IParam = objIPar;
 }
Example #9
0
 public CortesiaManutencao()
 {
     serviceCortesia = new CortesiaService();
     serviceParametro = new ParametroService();
 }
Example #10
0
 public SimuladoResultado()
 {
     _parametro = new ParametroService();
 }