Example #1
0
        public void changeListSyncStatus(long pList, long pSyncStatus = SystemConstants.SYNC_STATUS_COMPLETED)
        {
            // Cambiar el estado de la lista local a Sincronizado
            LotteryListRepository listRepository = new LotteryListRepository();
            LTL_LotteryList       syncList       = listRepository.getById(pList);

            syncList.SYS_SynchronyStatus = pSyncStatus;
            listRepository.save(syncList, syncList.LTL_Id, (e1, e2) => e1.copy(e2));
            //Console.WriteLine("Estado cambiado a sincronizado: " + pList);
        }
Example #2
0
        private void printList(long pListId)
        {
            LotteryListRepository listRepository = new LotteryListRepository();

            this.ticketPrintService.printList(listRepository.getById(pListId), this.getTicketType());
        }