Esempio n. 1
0
 public override Log_Item logItem(Log_Item item)
 {
     if (TM_UserData.Current.firebase_Log_DebugMsg())
     {
         var submitData = new API_Firebase.SubmitData(item, API_Firebase.Submit_Type.ADD);
         apiFirebase.submit(submitData);
     }
     return(item);
 }
Esempio n. 2
0
 public UserActivity logActivity(UserActivity userActivity)
 {
     if (TM_UserData.Current.firebase_Log_Activities())
     {
         var submitData = new API_Firebase.SubmitData(userActivity, API_Firebase.Submit_Type.ADD);
         apiFirebase.submit(submitData);
     }
     return(userActivity);
 }
Esempio n. 3
0
        public Log_Request logRequest()
        {
            var logRequest = new Log_Request();

            if (TM_UserData.Current.firebase_Log_RequestUrls())
            {
                var submitData = new API_Firebase.SubmitData(logRequest, API_Firebase.Submit_Type.ADD);
                apiFirebase.submit(submitData);
            }
            //apiFirebase.push(logRequest);
            return(logRequest);
        }