Beispiel #1
0
        public IList <int> GetTicket(DateTime date)
        {
            IList <int?> res    = new List <int?>();
            IList <int>  result = new List <int>();

            // statusId = 2  = transaction end   +  isReturn = false  = is not a Transtacion return
            //Normaly Count(result) = 1
            res = db.SPP_TicketTimeSure(date.Year, date.Month, date.Day, date.Hour, date.Minute, 2, false).ToList();
            for (int i = 0; i < res.Count(); i++)
            {
                result.Add(res[i].Value);
            }
            return(result);
        }