public static void AddPermission(Account account, Permission permission) { AccountPermission ap = new AccountPermission(); ap.AccountID = account.AccountID; ap.PermissionID = permission.PermissionID; ap.Save(); }
public void AddPermission(Permission permission) { _permissions.Add(permission); }