Add reactive to mileage entry page

This commit is contained in:
2012-12-15 20:38:51 -05:00
parent 260118ff90
commit 19705f8f38
26 changed files with 692 additions and 259 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
using System;
using System;
using System.Linq;
using System.Web.Mvc;
using MileageTraker.Web.DAL;
@@ -185,6 +185,9 @@ namespace MileageTraker.Web.Controllers
public ActionResult DeleteConfirmed(int id)
{
_dataService.DeleteLog(id);
if (Session["LogPage"] != null)
return Redirect((string) Session["LogPage"]);
return RedirectToAction("Index");
}