Hi @John Zeen ,
I think you could use the language specific OR condition.Just like this:
var roleId = context.Roles.Where(m => m.Name == "admin"|| m.Name=="custadmin").Select(m => m.Id).SingleOrDefault();
Best regards,
Yijing Sun
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.