public ActionResult Index() { if (User.Identity.IsAuthenticated) { return(View("IndexAuth")); } ViewBag.FurnitureSalonId = _db.IncludeFurnitureSalon(); return(View()); }
public ActionResult Add() { ViewBag.CategoryId = _db.IncludeCategory(); ViewBag.FurnitureSalonId = _db.IncludeFurnitureSalon(); return(View()); }