예제 #1
0
 public ActionResult CATWhours()
 {
     if (Session["userName"] == null)
     {
         return(RedirectToAction("Login", "Home"));
     }
     else
     {
         ViewBag.Hours = DataGetter.GetCatwHoursByUserName(Session["userName"].ToString());
         return(View());
     }
 }