Skip to content

Commit

Permalink
Add missing GetPartOfSpeech method to LfClassicMiniLcmApi
Browse files Browse the repository at this point in the history
  • Loading branch information
myieye committed Nov 7, 2024
1 parent b41478b commit 7ffc086
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions backend/LfClassicData/LfClassicMiniLcmApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ public async IAsyncEnumerable<PartOfSpeech> GetPartsOfSpeech()
}
}

public async Task<PartOfSpeech?> GetPartOfSpeech(Guid id)
{
return await GetPartsOfSpeech().FirstOrDefaultAsync(pos => pos.Id == id);
}

public IAsyncEnumerable<SemanticDomain> GetSemanticDomains()
{
return AsyncEnumerable.Empty<SemanticDomain>();
Expand Down

0 comments on commit 7ffc086

Please sign in to comment.