It's common in morder MVC Core web apps to use ajax requests to submit form data, allowing to remain in the same page (or perform any kind of animations), and ...
What you can do is, creating a FormData object, append the files to that. You need to append the form field values as well to this same FormData object.