示例#1
0
        public ApplicationViewModel()
        {
            this._mapper = PowerfullToolAutomapper.GetAutomapper();

            IEnumerable <LoanApplicationNotified> loanApplicationNotifieds =
                this._loanApplicationNotifiedService.GetAll();

            this.LoanApplications = new ObservableCollection <LoanApplicationNotified>(loanApplicationNotifieds);

            this._newLoanApplication = new LoanApplicationNotified()
            {
                ApplicationStatus = ApplicationStatusEnumNotified.New,
                DateOfSubmission  = DateTime.UtcNow
            };
        }
示例#2
0
 public ReportService()
 {
     this._mapper = PowerfullToolAutomapper.GetAutomapper();
 }
示例#3
0
 public LoanApplicationNotifiedService(
     LoanApplicationService loanApplicationService)
 {
     this._mapper = PowerfullToolAutomapper.GetAutomapper();
     this._loanApplicationService = loanApplicationService;
 }