public static bool UpdateConnectionActive(CsCONNEXIONACTIVE pConnectionActive)
 {
     try
     {
         return(Entities.UpdateEntity <CONNEXIONACTIVE>(Entities.ConvertObject <CONNEXIONACTIVE, CsCONNEXIONACTIVE>(pConnectionActive)));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        public static bool DeConnecterUser(CsCONNEXIONACTIVE pConnectionActive)
        {
            bool result = false;

            try
            {
                if (pConnectionActive != null)
                {
                    result = DeleteConnectionActive(pConnectionActive);
                }
                return(result);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }