public async Task <IActionResult> Edit(long id) { var item = await _businessManager.GetCustomerTag(id); if (item == null) { return(NotFound()); } var model = _mapper.Map <CustomerTagViewModel>(item); return(View(model)); }
public async Task <IActionResult> Edit(long id) { var item = await _businessManager.GetCustomerTag(id); if (item == null) { return(NotFound()); } var model = _mapper.Map <CustomerTagViewModel>(item); return(View(model)); }