@page "/profiles/import/{profileId:int}/edit" @using ECM.JobRunner.Common.JobRunnerReference; @using ECM.JobRunner.Web.Data; @inject NavigationManager Navigation; @inject ImportService Profile; Job bearbeiten

Job bearbeiten

@code { [Parameter] public int ProfileId { get; set; } private async void OnFormSubmit(EditContext ctx) { ImportProfile profile = (ImportProfile)ctx.Model; bool result = await Profile.UpdateProfile(profile); if (result == true) { Navigation.NavigateTo($"/profiles/import/{profile.Id}"); } } }