コード例 #1
0
 public ActionResult Index()
 {
     if (User.Identity.IsAuthenticated)
     {
         return(View("IndexAuth"));
     }
     ViewBag.FurnitureSalonId = _db.IncludeFurnitureSalon();
     return(View());
 }
コード例 #2
0
 public ActionResult Add()
 {
     ViewBag.CategoryId       = _db.IncludeCategory();
     ViewBag.FurnitureSalonId = _db.IncludeFurnitureSalon();
     return(View());
 }