How can I send two parameters in one request?
I know how to send one request with one parameter.
I use postman to send the requests.
This is the person code:
public class Person { public string Name { get; set; } public string Position { get; set; } } And this is my controller code:
[HttpPost("Add")] public async Task<IActionResult> Add(List<IFormFile> files, Person person) How can I realize this?