public void UserLogout(string UserId) { try { using (OIS_SYSEntities ct = new OIS_SYSEntities()) using (TransactionScope trans = new TransactionScope()) { ct.sp_SYS_UserLogout(UserId); trans.Complete(); } } catch (Exception ex) { throw ex; } }
public void UserLogout(string UserId) { try { using (OIS_SYSEntities ct = new OIS_SYSEntities()) using (TransactionScope trans = new TransactionScope()) { ct.sp_SYS_UserLogout(UserId); trans.Complete(); } } catch (Exception ex) { throw ex; } }