public void Edit(Operation entity) { if (AuthorizedUsers["Edit"].SingleOrDefault(x => x == Role) != null) { OperationController.Edit(entity); } }