public void Approve(int processID) { _processRepository.Approve(processID); var process = _processRepository.QueryEager().FirstOrDefault(p => p.Id == processID); //var candidate = _candidateRepository.QueryEager().FirstOrDefault(c => c.Id == process.Candidate.Id); process.Candidate.Status = SetCandidateStatus(process.Status); //_candidateRepository.Update(candidate); _unitOfWork.Complete(); }
public void Approve(int processID) { _processRepository.Approve(processID); _unitOfWork.Complete(); }