Display results from Piscal processing

Error handling for Piscal processing
This commit is contained in:
2016-03-07 11:47:55 -05:00
parent c80d048c39
commit 05b2bfefb1
11 changed files with 191 additions and 58 deletions
+7 -1
View File
@@ -1,4 +1,6 @@
using System.Linq;
using System.Web.Mvc;
using LeafWeb.Web.ViewModels.LeafOutput;
namespace LeafWeb.Web.Controllers
{
@@ -6,7 +8,11 @@ namespace LeafWeb.Web.Controllers
{
public ActionResult Index()
{
var viewModel = DataService.GetLeafOutputFiles();
var viewModel =
DataService.GetLeafInputFiles()
.OrderByDescending(f => f.Id)
.ToList()
.Select(f => new LeafOutputViewModel(f));
return View(viewModel);
}
}