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