Ejemplo n.º 1
0
 public ITestActionResult PutUmbrellaFromSubCompany([FromBody] SubCompany newCompany)
 {
     Umbrella = newCompany;
     return(StatusCode(HttpStatusCode.NoContent));
 }
Ejemplo n.º 2
0
 public ITestActionResult UpdateCompanyByPutWithDerivedTypeObject([FromBody] SubCompany newCompany)
 {
     MonstersInc = newCompany;
     return(StatusCode(HttpStatusCode.NoContent));
 }