public int GetId(string name) { NullCheck(name); EmptyStringCheck(name); return(roleDao.GetId(name)); }