public Property Post([FromBody] Property property) { return(db.Add(property)); }
public Property Add(Property newProperty) => _repository.Add(newProperty);
public Property Post([FromBody] Property property) { System.Console.WriteLine("Property: " + property); return(db.Add(property)); }
public IActionResult Post(Property property) { repository.Add(property); return(Ok()); }
public Response Post([FromBody] Property value) { return(repo.Add(value)); }