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