public string ConfirmReservation(DateTime dateConfirmed, string librarianConfirmedBy, string code)
        {
            ObjectResult <sp_confirm_reservation_Result>
            result = entities.sp_confirm_reservation(dateConfirmed, librarianConfirmedBy, code);

            sp_confirm_reservation_Result messageResult = result.First();

            return(messageResult.type + " " + messageResult.message);
        }