public void SendMail()
        {
            _jobModel = new JobModel();
            string[] receipts = _view.ReceiptsString.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries);

            using (_emailModel = new EmailModel())
            {

                if (_view.JobID.HasValue)
                {
                    CS_Job job = _jobModel.GetJobById(_view.JobID.Value);
                    _emailModel.SaveEmailList(string.Join(";", receipts), _view.EmailSubject, _view.EmailBody, _view.UserName, _view.CreationId);
                    _jobModel.SaveCallCriteriaInitialAdviseCallCriteriaEmailResources(_callLogModel.GetCallLogById(job.CS_CallLog.FirstOrDefault(e => e.CallTypeID == (int)Globals.CallEntry.CallType.InitialLog).ID));
                }
                else
                {
                    _emailModel.SaveEmailList(receipts, _view.ReceiptsIds, _view.EmailSubject, _view.EmailBody, _view.UserName, _view.CreationId);
                }
            }
        }