@page "/profiles/import/new" @using ECM.JobRunner.Common.JobRunnerReference; @using ECM.JobRunner.Web.Data; @inject NavigationManager Navigation; @inject ImportService Import; Job erstellen

Job erstellen

@code { public int JobId = -1; private async void OnFormSubmit(EditContext ctx) { ImportProfile profile = (ImportProfile)ctx.Model; bool result = await Import.CreateProfile(profile); if (result == true) { Navigation.NavigateTo("/jobs"); } } }