}//end of Post method

        /// <summary>
        /// Get Rentals from Database based on the parameter UserId
        /// </summary>
        /// <param name="userID">The id of the User the Rental Objects are associated with</param>
        /// <returns></returns>
        public IHttpActionResult Get(int userID)
        {
            RentalService rentalService = CreateRentalService();
            var           rentalsbyID   = rentalService.GetRentalByUserID(userID);

            return(Ok(rentalsbyID));
        }