public async Task <IActionResult> Update(FaqGroupUpdateViewModel model)
        {
            var result = await _faqGroupRepository.UpdateAsync(model);

            TempData.AddResult(result);

            return(RedirectToAction("Index"));
        }
        public async Task <IActionResult> Update(FaqGroupUpdateViewModel model)
        {
            var result = await _faqGroupRepository.UpdateAsync(model);

            TempData.AddResult(result);

            return(Redirect(IndexUrlWithQueryString));
        }