public IActionResult UploadMapperFile() { var viewModel = new UploadFileViewModel(); viewModel.UploadFileTypes = ExcelLoanServices.GetUploadFileTypes().Select(m => new SelectListItem() { Text = m.Description, Value = m.ID.ToString() }).ToList(); return(View(viewModel)); }
public IActionResult UploadProcessingFiles() { return(View(new UploadProcessingFilesViewModel() { UploadFileTypes = ExcelLoanServices.GetUploadFileTypes().Select(m => new SelectListItem() { Text = m.Description, Value = m.ID.ToString() }).ToList() })); }