Change your method argument to take below model and add [FromForm], it should work.
public class FileUploadViewModel
{
public IFormFile File { get; set; }
public int BrandId { get; set; }
}
public async Task> MediaBrand([FromForm] FileUploadViewModel viewModel)