Passing List object and int to web api
问题 I have a web api core project that if I send just the list parameter than the API receives the values, however if I send both parameters that the controller is looking for then both parameters are seen as null My contoller: [HttpPost] [Route("/jobApi/RunBD")] public int RunBDReport([FromBody]int month, [FromBody] IEnumerable<ClientModel> clients) { billingDetailCycle objBillDetail = new billingDetailCycle(); if (ModelState.IsValid) { return objBillDetail.Run(clients.ToList(), month); } else {