Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
 public IActionResult UploadProcessingFiles()
 {
     return(View(new UploadProcessingFilesViewModel()
     {
         UploadFileTypes = ExcelLoanServices.GetUploadFileTypes().Select(m => new SelectListItem()
         {
             Text = m.Description, Value = m.ID.ToString()
         }).ToList()
     }));
 }