Mario K.
.NET 6 web api - HttpClient.PostAsync not hitting HttpPost in controller
// POST: api/customers
[HttpPost]
[Consumes("application/json")]
public async Task<ActionResult> Post([FromBody] CustomerModel value)
{
//throw new NotImplementedException(); }
//throw new NotImplementedException(); }
25 replies
✅ Help with LINK Async !
@canton7 @Jimmacle Thank you ! I appologize for stupid question ! Unfortunately, the other guy messed up the code and implemented wrong method call, so that GetAllAsync actually called GetAllWithDetailsAsync 🙂 Hence, naturally, the method I was writing never got called 🙂
85 replies