I have dynamic inputs

The code works properly, but the input file type passed null

the AttachmentsDto ,,,

public class AttachmentsDto
{
    public string Name { get; set; }
    public int AttachType { get; set; }
    public List Photos { get; set; }
    public string? CreatedBy { get; set; }
    public string? ModifiedBy { get; set; }
    public DateTime CreatedOn { get; set; }
    public DateTime? ModifiedOn { get; set; }
    public bool IsDeleted { get; set; } = false;
}