Exemplo n.º 1
0
 public async Task <Model.Raum> WriteRaum(Model.Raum raum)
 {
     return(await SendDataPUTReturnsModel <Model.Raum>(raum));
 }
Exemplo n.º 2
0
 public Model.Raum WriteRaum(Model.Raum raum)
 {
     _logger.LogInformation($"HttpPut at {DateTime.UtcNow} UTC for {nameof(RaumController)}");
     _database.WriteModel(raum);
     return(raum);
 }