public async Task <ActionResult> Create(ArticleCategoryViewModel model) { try { var x = await _articleCategoryService.CreateOrUpdateAsync(model); return(RedirectToAction(nameof(Index))); } catch (Exception ex) { return(View()); } }
public async Task <ActionResult> Create(ArticleCategoryViewModel model) { try { var x = await _articleCategoryService.CreateOrUpdateAsync(model); return(RedirectToAction(nameof(Index))); } catch (Exception ex) { return(View()); } }