public ActionResult Products() { if (Session["uname"] != null) { return(View(tripService.GetAllForProduct(employeeService.Get(Session["id"].ToString()).OfficeId))); } return(RedirectToAction("Index", "Home")); }
public ActionResult Products() { return(View(tripService.GetAllForProduct(employeeService.Get(Session["id"].ToString()).OfficeId))); }