Exemplo n.º 1
0
 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;
     }
 }