resource relation method for base controller