public Role GetRole(int tenantId, int operatorId, int id) { Role role = null; var roleDo = _roleDao.GetRole(tenantId, operatorId, id); if (role != null) { role = roleDo.ToBusinessObject(); } return(role); }