Dim employeehierarchy = db.EmployeeHierarchies.Where(Function(m) m.EmployeeHierarchyId = employeehierarchydb.EmployeeHierarchyId).FirstOrDefault()
Dim updateemployeehierarchy = db.Entry(employeehierarchy)
updateemployeehierarchy.CurrentValues.SetValues(employeehierarchydb)
db.SaveChanges()
Dim updateemployeehierarchy = db.Entry(employeehierarchy)
updateemployeehierarchy.CurrentValues.SetValues(employeehierarchydb)
db.SaveChanges()