public async Task <List <WordTranslationImportModel> > Get(int start, int end, int originalLangId, int translationLangId) { return(await wordTranslationService.GetWordsFromIntervalAsync(start, end, originalLangId, translationLangId)); }
public async Task <List <WordTranslationImportModel> > Get([FromUri] int start, [FromUri] int end, [FromUri] int originalLangId, [FromUri] int translationLangId, [FromUri] int[] partsOfSpeechId) { return(await wordTranslationService.GetWordsFromIntervalAsync(start, end, originalLangId, translationLangId, partsOfSpeechId)); }