public async Task <IActionResult> Insert(FaqGroupInsertViewModel model) { TempData.AddResult(await _faqGroupRepository.AddAsync(model)); return(RedirectToAction("Index")); }
public async Task <IActionResult> Insert(FaqGroupInsertViewModel model) { TempData.AddResult(await _faqGroupRepository.AddAsync(model)); return(Redirect(IndexUrlWithQueryString)); }