提问人:Baidehi shaw 提问时间:7/4/2023 更新时间:7/4/2023 访问量:5
无法访问文件列表
not able to access list of file
问:
在下面的代码块中,我是从模型列表中上传文件
public async Task\<IActionResult\> AddClaim(\[FromForm\] AddClaim claims)
=\>i am able to upload file from this controller
this is my model
public string? Remarks { get; set; }
public decimal ClaimAmount { get; set; }
public IFormFile\[\]? ClaimsForm { get; set; } = null!;
public IFormFile\[\]? MedicalForm { get; set; } = null!;
public IActionResult GroupClaims(\[FromForm\]List\<AddClaim\> claims) =\> but not for this
public IActionResult GroupClaims([FromForm]List<AddClaim> claims) => 但不是
答: 暂无答案
评论