Example #1
0
        private void GetSwapingDate(Pair <long?> termPair)
        {
            var term = new Pair <Term>();

            if (termPair.Applier.HasValue)
            {
                term.Applier = _attendanceRepository.Get <Term>(termPair.Applier);
            }
            if (termPair.Replier.HasValue)
            {
                term.Replier = _attendanceRepository.Get <Term>(termPair.Replier);
            }
            Applier.SwapingDate = Replier.SwapingDate = term.Applier.Get(term.Replier);
            _attendanceRepository.Clear();
        }