public async Task <TranslationDto> GetSingleAsync(Expression <Func <TranslationDto, bool> > where, params Expression <Func <TranslationDto, object> >[] navigationProperties) { var where2 = _mapper.Map <Expression <Func <Translation, bool> > >(where); var navProp = _mapper.Map <Expression <Func <Translation, object> >[]>(navigationProperties); var result = await _translationRepo.GetSingleAsync(where2, navProp); return(_mapper.Map <TranslationDto>(result)); }