/// <summary> /// 是否存在 /// </summary> /// <param name="id"></param> /// <returns></returns> public async Task <bool> IsExists(string id) { if (_roleStore.IsExists(id)) { return(true); } return(false); }