Пример #1
0
        public void AddCommitteeVoting(string EmployeeId, Guid LoanApplicationId, LoanApplicationCommitteeMemberStatus Status = LoanApplicationCommitteeMemberStatus.NotConsidered)
        {
            var cvs = _unitOfWork.GetDbSet <CommitteeVoting>();

            cvs.Add(new CommitteeVoting(EmployeeId, LoanApplicationId, Status));
            _unitOfWork.SaveChanges();
        }
Пример #2
0
 public CommitteeVoting(string employeeId, Guid loanApplicationId, LoanApplicationCommitteeMemberStatus status)
 {
     EmployeeId        = employeeId;
     LoanApplicationId = loanApplicationId;
     Status            = status;
 }