public ActionResult Post([FromBody] PeopleHobbiesDTO peopleHobbiesDTO) { return(Ok()); //try //{ // if (personDTO == null) // return NotFound(); // _applicationServicePerson.Add(personDTO); // return Ok("Person registered!"); //} //catch (Exception e) //{ // return BadRequest(e.Message); //} }
public void Update(PeopleHobbiesDTO obj) { throw new NotImplementedException(); }