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.
DS7/BookingJieFeng/Controllers/HomeController.cs

27 lines
741 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace BookingJieFeng.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;
ViewBag.Indentified = CurrentCompany.IDENTIFICATION_STATE == UserIdentiState.Indentified.ToString();
return View();
}
public ActionResult Welcome()
{
return View();
}
}
}