public async Task RemoveStandardFromApplication(ApplicationStandard relation) { var application = await GetApplication(relation.ApplicationId); application.RemoveApplicationStandard(relation.StandardId); await SaveChanges(); }
public async Task AddStandardToApplication(ApplicationStandard relation) { var application = await GetApplication(relation.ApplicationId); application.ApplicationStandards.Add(relation); await SaveChanges(); }