Check MgNr and PredecessorMgNr

This commit is contained in:
2023-03-11 16:18:37 +01:00
parent 86560e6e57
commit b887e0ffe3
4 changed files with 104 additions and 24 deletions

@ -61,5 +61,9 @@ namespace WGneu.Helpers {
UseShellExecute = true,
});
}
public static bool MgNrExists(AppDbContext ctx, int mgnr) {
return ctx.Members.Find(mgnr) != null;
}
}
}