public async Task <IActionResult> Update([FromBody] CustomerViewModel employeeViewModel) { try { employeeViewModel.EditedOn = DateTime.Now; employeeViewModel.EditedById = 1; var item = employeeViewModel.MapObject <CustomerViewModel, CustomerBo>(); await _employeeService.Update(item); return(Ok()); } catch (Exception ex) { throw ex; } }