public async Task <IdentityResource> GetIdentityResourceByIdAsync(int id) { var result = await _repo.GetIdentityResourceByIdAsync(id); return(result); }