You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
624 B
C#

9 months ago
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();
}
}
}