예제 #1
0
        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());
        }
예제 #3
0
 public async Task VerifyEmail(string guid)
 {
     await _reservationService.AcceptReservation(guid);
 }