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 }; }
public ReportService() { this._mapper = PowerfullToolAutomapper.GetAutomapper(); }
public LoanApplicationNotifiedService( LoanApplicationService loanApplicationService) { this._mapper = PowerfullToolAutomapper.GetAutomapper(); this._loanApplicationService = loanApplicationService; }