public async Task <IActionResult> Insert(OrganizationInsertViewModel model) { TempData.AddResult(await _organizationRepository.AddAsync <OrganizationInsertViewModel>(model)); return(RedirectToAction("Index")); }
public async Task <IActionResult> Insert(OrganizationInsertViewModel model) { TempData.AddResult(await _organizationRepository.AddAsync <OrganizationInsertViewModel>(model)); return(RedirectToAction("Index")); }