Add reactive to mileage entry page
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user