Exemplo n.º 1
0
        public async Task <IActionResult> Missing()
        {
            var model = (await _context.SupportedCultures.ToArrayAsync())
                        .Select(c => new MissingLocalizationsVM()
            {
                CultureId        = c.Id,
                CultureName      = c.Name,
                LocalizationKeys = _context.GetMissingLocalizationsForCulture(c)
            })
                        .ToArray();

            return(View(model));
        }