/// <summary>
        /// Get relized and rejected orders
        /// </summary>
        /// <param name="from"></param>
        /// <param name="to"></param>
        /// <returns></returns>
        public IList <Order> GetPastOrders(int from, int to)
        {
            if (waiterUserContext == null)
            {
                return(null);
            }

            IList <Order> list = null;

            try
            {
                list = WaiterDataAccess.GetPastOrders(waiterUserContext.Id, from, to).ToList();
            }
            catch (Exception)
            {
                throw new Exception("Problem with DB");
            }

            return(list);
        }