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