Beispiel #1
0
 public async Task <IEnumerable <DTO.LangStr> > GetLanguageStrings()
 {
     return(await RepoDbSet.AsNoTracking()
            .Include(l => l.Translations)
            .Select(a => new DTO.LangStr()
     {
         Id = a.Id,
         CultureCount = a.Translations !.Count,
         CurrentValue = a
     })