using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Mvc; namespace BookingWeb.Controllers { public class HomeController : BaseController { // GET: Home public ActionResult Index() { ViewBag.Mobile = CurrentUser.MOBILE; ViewBag.Name = CurrentUser.NAME; ViewBag.IsAdmin = CurrentUser.GID == CurrentCompany.GID; ViewBag.CompanyName = CurrentCompany.COMPANY_NAME; return View(); } public ActionResult Welcome() { return View(); } } }