Example #1
0
        public static List <RentalDTO> Search(Nullable <int> propertyID, string owner, string user, Nullable <DateTime> enteryDate, Nullable <DateTime> endDate)
        {
            List <Rental> rentals = RentalDAL.Search(propertyID, owner, user, enteryDate, endDate);

            return(ConvertListToDTO(rentals));
        }