public List <OrderDetail> GetDailyDetailsForAStaff(int staffID)
        {
            var payments = new PaymentManager().GetDailyPaymentsForAStaff(staffID);

            return(GetDetailsFromPayments(payments));
        }
        public List <OrderDetail> GetWeeklyDetailsForAStore(int storeID)
        {
            var payments = new PaymentManager().GetWeeklyPaymentsForAStore(storeID);

            return(GetDetailsFromPayments(payments));
        }
        public List <OrderDetail> GetWeeklyDetails()
        {
            var payments = new PaymentManager().GetWeeklyPayments();

            return(GetDetailsFromPayments(payments));
        }