public IActionResult Update(Guid id) { if (id == Guid.NewGuid() || id == Guid.Empty) { return(NotFound()); } var employee = _iEmployeeAppService.FindById(id); if (employee == null) { return(NotFound()); } return(View("Update", employee)); }