public async Task <GetScopeByIdResponse> Handle(GetScopeByIdRequest request)
 {
     return(new GetScopeByIdResponse()
     {
         Scope = ScopeApiModel.FromScope(await _dataContext.Scopes.FindAsync(request.Id))
     });
 }
            public async Task <GetScopesResponse> Handle(GetScopesRequest request)
            {
                var scopes = await _dataContext.Scopes.ToListAsync();

                return(new GetScopesResponse()
                {
                    Scopes = scopes.Select(x => ScopeApiModel.FromScope(x)).ToList()
                });
            }