public async Task <int> Get(int originalLangId, int translationLangId) { return(await wordTranslationService.GetAmountOfWordTranslationsByLanguageAsync(originalLangId, translationLangId)); }
public async Task <int> GetAmountOfWordsBySpecificLanguage([FromUri] int originalLangId, [FromUri] int translationLangId, [FromUri] int[] partsOfSpeechId) { return(await wordTranslationService.GetAmountOfWordTranslationsByLanguageAsync(originalLangId, translationLangId, partsOfSpeechId)); }