Example #1
0
        public List <Reservation> GetReservationsByFilterTypeC(string typeclient)
        {
            List <Reservation> reservations = new List <Reservation>();

            reservations = reservationRepository.FindMany(x => x.TypeClient == typeclient).OrderByDescending(x => x.DateReserv).ToList();
            return(reservations);
        }