What is the correct way to pass an object to WebApi RC controller
- by Diver Dan
I have a webapi project running rc
I have a very basic controlller like
[System.Web.Http.HttpPost]
public void Update(Business business)
{
//if (business.Id == Guid.Empty)
//{
// throw new HttpResponseException("Business ID not provided", HttpStatusCode.BadRequest);
//}
…