public void Post([FromBody] Person value) { Context.Persons.Update(value); Context.SaveChanges(); }
public void Post([FromBody] Tour value) { Context.Tours.Update(value); Context.SaveChanges(); }