public void UpdatePersonalDetails(UserRegistration _objUserRegistration) { UserInfoResource objUser = new UserInfoResource(); object[] param = { _objUserRegistration }; //Transaction started using (TransactionScope trans = new TransactionScope()) { objUser.UpdatePersonalDetails(param); //Transaction commited trans.Complete(); } }