Ejemplo n.º 1
0
        private void SaveNotes(string note, long callId)
        {
            var callCenterNotes = new CallCenterNotes();

            callCenterNotes.CallId        = callId;
            callCenterNotes.Notes         = note;
            callCenterNotes.IsActive      = true;
            callCenterNotes.NotesSequence = 1;

            _callCenterNotesRepository.Save(callCenterNotes);
        }
        private void SaveNotes(string note, long callId)
        {
            var callCenterNotes = new CallCenterNotes
            {
                CallId        = callId,
                Notes         = note,
                IsActive      = true,
                NotesSequence = 1
            };

            _callCenterNotesRepository.Save(callCenterNotes);
        }
        private void SaveCallNotes(CallUploadLog callUploadLog, long callId, long orgRoleId)
        {
            if (string.IsNullOrEmpty(callUploadLog.Notes))
            {
                return;
            }

            _callCenterNotesRepository.Save(new CallCenterNotes
            {
                CallId        = callId,
                DateCreated   = callUploadLog.OutreachDateTime.Value,
                IsActive      = true,
                Notes         = callUploadLog.Notes,
                NotesSequence = 1
            });

            SaveRegistrationNotes(callUploadLog.CustomerId, callUploadLog.Notes, orgRoleId, callUploadLog.OutreachDateTime.Value);
        }