public async Task <ActionResult <IEnumerable <Translation> > > GetTranslationsInString(Guid idString) { // Check if string by id exists in database //var foundedTranslation = await filesRepository.GetByID(id); // if (foundedFile == null) // { // return NotFound($"File by id \"{id}\" not found"); // } IEnumerable <Translation> translations = await translationRepository.GetAllTranslationsInStringByID(idString); return(Ok(translations)); }