public async Task <IActionResult> Edit(Guid id) { if (Guid.Empty == id) { return(NotFound()); } var model = await _articleCategoryService.GetCategoryForEditAsync(id); return(View(Mapper.Map <CreateOrUpdateCategoryViewModel>(model))); }
public async Task <IActionResult> Edit(Guid id) { if (Guid.Empty == id) { return(NotFound()); } var model = await _articleCategoryService.GetCategoryForEditAsync(id); return(View(Mapper.Map <CreateOrUpdateCategoryViewModel>(model))); }