private async Task RemoveCompanyRepFromProgram(CompRep compRep) { List <CompRep> repToRemove = new List <CompRep>(); repToRemove.Add(compRep); await ProgramContext.RemoveCompRepsFromProgram(repToRemove, ProgrammeId); StateHasChanged(); await GetCompanyReps(); }