public async Task <IActionResult> Index()
        {
            IEnumerable <FirmDto> firmViews = (await lawyerDbContext.GetFirmViewAsync())
                                              .Where(m => m.LanguageId == DbContextService.GetLanguageIdByShortName(lawyerDbContext)).ToList();

            return(View(firmViews));
        }
        public async Task <IActionResult> Firm([FromRoute] string culture)
        {
            FırmViewModel firmViewModel = null;

            try
            {
                // StaticData staticData = await lawyerDbContext.StaticDatas?.SingleOrDefaultAsync();

                int?languageId = DbContextService.GetLanguageIdByShortName(lawyerDbContext, culture);

                if (languageId == null)
                {
                    return(NotFound());
                }

                var firm = (await lawyerDbContext.GetFirmViewAsync()).SingleOrDefault(m => m.LanguageId == languageId);

                firmViewModel = new FırmViewModel
                {
                    Title       = firm?.Title,
                    Description = firm?.Description,
                    Img         = firm?.Img
                };
            }
            catch
            {
                return(NotFound());
            }

            return(View(firmViewModel));
        }