Is there a way to convert a List of type IFormFile to IFormFileCollection
In my code I have a OnPost()
method that recieves an IFormCollection
, through this I pass a few files through. One of these files I always want to always be the the index[0] of a List<byte[]>
. Is there a way for me to convert this List<IFormFile>
back to either the original IFormCollection
or even to the IFormFileCollection
?