public static UserActivity logUserActivity(this TM_WebServices tmWebServices, string action, string detail)
 {
     if (tmWebServices.notNull())
     {
         var currentUser = tmWebServices.Current_User();
         if (currentUser.notNull())
         {
             return(currentUser.UserName.tmUser().logUserActivity(action, detail));
         }
         return(tmWebServices.logTBotActivity(action, detail));
     }
     return(null);
 }