public void UpdateLifeCycle(LifeCyclesViewModel lifecyclesviewmodel) { try { tbl_LifeCycle tbllifecycle = new tbl_LifeCycle(); tbllifecycle.LifeCycleID = lifecyclesviewmodel.LifeCycleID; tbllifecycle.LifeCycleDesc = lifecyclesviewmodel.LifeCycleDesc; tbllifecycle.daId = lifecyclesviewmodel.daid; tbllifecycle.EntityState = DA.DomainModel.EntityState.Modified; LifeCycleManager lifecycleManager = new LifeCycleManager(); lifecycleManager.UpdateLifeCycle(tbllifecycle); } catch (Exception) { throw; } }