示例#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)));
 }