Example #1
0
        public CallHistoryListModel GetCallError()
        {
            var listCallHistories = CallHistoryRepository.GetAllCallError() ?? new List <CallHistoryInfo>();
            var model             = new CallHistoryListModel
            {
                Rows = listCallHistories,
            };

            return(model);
        }
Example #2
0
        public int RepairCall()
        {
            var list = CallHistoryRepository.GetAllCallError() ?? new List <CallHistoryInfo>();

            return(list.IsNullOrEmpty() ? 0 : RepairCall(list));
        }