我有带有CRUD的rest WebApi控制器。我需要添加一个自定义的POST端点: public class TherapistController : ApiController public IHttpActionResultTherapistModel therapistModel) return Ok(therapist); } 但在本例中,我有一个错误:“<e
当我尝试在api/objects上发布(在这里调用我的代码片段中的最后一个操作)时,我得到了这个错误Multiple actions were found that match the request。虽然我有更多的控制器和更多的webapi的post操作,但它们都有一些简单的输入,比如字符串、整型或简单和复杂数据的组合。这只是一个post操作,它只接