private void SaveLog(TWO wo, EnumWOLog enumWOLog)
        {
            TWOLog woLog = new TWOLog();

            woLog.SetAssignedIdTo(Guid.NewGuid().ToString());
            woLog.WOId      = wo;
            woLog.LogUser   = User.Identity.Name;
            woLog.LogDate   = DateTime.Now;
            woLog.LogStatus = enumWOLog.ToString();

            woLog.CreatedDate = DateTime.Now;
            woLog.CreatedBy   = User.Identity.Name;
            woLog.DataStatus  = "New";
            _woLogTasks.Insert(woLog);
        }