Display results from Piscal processing
Error handling for Piscal processing
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user