I have uploaded all PDF files under media library. In one of my template, I added multilist with datasource to the pdf files which are created under media Library. Now in my code,I have to read the PDF files selected in the multilist from Sitecore.
I have added like below for the field in my Model.
public virtual IEnumerable<File> Documents { get; set; }
While reading the data from the GlassMapper it is throwing an exception as below.
Message = "Failed to map properties on to the Item"
Please suggest a way to read the PDF files from Sitecore using GlassMapper