public JsonResult AcceptReservation(int reservationId) { _reservationService.AcceptReservation(reservationId); return(Json(true, JsonRequestBehavior.AllowGet)); }
public async Task <IActionResult> AcceptReservation(StatusChangeRequest model) { var reservation = await _reservationService.AcceptReservation(new AcceptReservationCommand { Id = model.Id, UserId = model.UserId }); return(NoContent()); }
public async Task VerifyEmail(string guid) { await _reservationService.AcceptReservation(guid); }