private void LogTheAction(eNums.eReadUpdateCreateDelete actionType) { //START LOGGING ================================================================================================================<<< string sX = ContactRecord.GetStringWith_RecordProperties(); contactDBContext dcLog = new contactDBContext(); T000MvcLogging logRecord = new T000MvcLogging(); logRecord.ApplicationAssemblyName = General_Application_Extensions.fn_ReturnApplicationName(); logRecord.Browser = Browser; logRecord.CreateUpdateDeleteRead = actionType.ToString(); if (actionType != eNums.eReadUpdateCreateDelete.Read) { logRecord.Note = sX; //need to add serialized values } else { actionType.ToString(); } logRecord.UserLogIn = General_ActiveDirectory_Extensions.fn_sUser(); string localIP = ""; localIP = IP; logRecord.ComputerName = General_String_Extensions.General_functions.fn_ComputerName(localIP); dcLog.T000MvcLogging.Add(logRecord); dcLog.SaveChanges(); //END LOGGING ================================================================================================================<<< }