public async Task <IActionResult> AddWithUrl(AddGiftWithUrlRequest addGiftWithUrlRequest) { if (!await eventService.ValidateAccessAsync(addGiftWithUrlRequest.EventId, User)) { return(RedirectToAction(nameof(EventController.Show), "Event")); } if (ModelState.IsValid) { await giftService.SaveGiftFromArukeresoAsync(addGiftWithUrlRequest); return(RedirectToAction(nameof(EventController.Show), "Event", new { id = addGiftWithUrlRequest.EventId })); } return(View(addGiftWithUrlRequest)); }