I have a form that includes several inputs(text) and below them, there is a dropzone area. I need to pass these data and image together in a model. I have a model like this:
public BannerItem bannerItem { get; set; }
public IFormFile imagefile { get; set; }
I am using tags like asp-for and i dont know how to bind dropzone image to the imagefile. I tried js but it didn't work. Can you help me with this?