public void ListReceiptsByCallLog() { using (_callLogModel = new CallLogModel()) { _view.Receipts = _callLogModel.ListCallCriteriaEmails(_view.CallLogListId); } }
public void GetEmailDataByCallLogId() { try { using (_callLogModel = new CallLogModel()) { List<int> lstCallLogIds = new List<int>(); lstCallLogIds.Add(_view.CallLogId); _view.CallLogCallCriteriaEmail = _callLogModel.ListCallCriteriaEmails(lstCallLogIds); } } catch (Exception ex) { Logger.Write(string.Format("An Error has ocurred while trying to get EmailData by CallLogID.\n{0}\n{1}", ex.Message, ex.StackTrace)); } }