Ejemplo n.º 1
0
        public LPS_LotteryPointSale getPointSale()
        {
            LotteryPointSaleRepository posRepository = new LotteryPointSaleRepository();
            // TODO: Validar si es número
            long posId = Convert.ToInt64(UtilityService.getLocalParameterValue(ParameterConstants.POS_NAME_PARAM));

            return(posRepository.getById(posId));
        }
Ejemplo n.º 2
0
        public string getPointSaleInstance()
        {
            string posInstance = null;

            posInstance = UtilityService.getLocalParameterValue(ParameterConstants.POS_NAME_PARAM);
            posInstance = posInstance.Trim() == "" ? null : posInstance;
            return(posInstance);
        }