Exemplo n.º 1
0
 public IHttpActionResult Confirm([FromBody] int reservationId)
 {
     _reservationsService.Confirm(reservationId);
     _logger.AddUser(getUsernameFromRequest());
     _logger.AddOperationMade("confirmed reservation");
     _logger.AddDetails("id: " + reservationId);
     _logger.Log();
     return(Ok());
 }