public TestEntitty Update(string name, [FromBody] TestEntitty testEntitty) { testEntitty.Name = name; return(testEntitty); }
public JsonResult Insert([FromForm] TestEntitty testEntitty) { return(Json(testEntitty.ToString())); }
public TestEntitty Insert([FromBody] TestEntitty testEntitty) { return(testEntitty); }