public Pagamento() { serviceCliente = new ClienteService(); servicePayment = new PaymentService(); serviceParametro = new ParametroService(); serviceEmail = new EmailPayment(); }
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(); }
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(); }
public CortesiaResultado() { _parametro = new ParametroService(); }
public ParametroService(IParametro objIPar) : this(new Parametro()) { IParam = objIPar; }
public CortesiaManutencao() { serviceCortesia = new CortesiaService(); serviceParametro = new ParametroService(); }
public SimuladoResultado() { _parametro = new ParametroService(); }