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