public async Task <ActionResult> UpdateOrganizerAsync(OrganizerVm organizerVm) { await _organizerService.UpdateOrganizerAsync(organizerVm); Log.Information("Organizer {@organizerVm} updated", organizerVm); return(Ok()); }
public async Task EditOrganizer() { await OrganizerService.UpdateOrganizerAsync(Organizer); Context.RedirectToRoute("DetailOrganizer", new { IdOrganizer = Organizer.IdOrganizer }); }