public async Task <ScopeViewModel> GetAsync(string id) { if (id == null) { throw new ArgumentNullException(nameof(id)); } var claimType = await _service.GetAsync(id); return(claimType != null?ToModel(claimType) : null); }