using Bootstrap.DataAccess;
using System.Web;
namespace Bootstrap.Admin.Models
{
///
///
///
public class HeaderBarModel : ModelBase
{
public HeaderBarModel()
{
var user = UserHelper.RetrieveUsersByName(HttpContext.Current.User.Identity.Name);
DisplayName = user.DisplayName;
UserID = user.ID;
HomeUrl = "~/";
}
///
///
///
public int UserID { get; set; }
///
///
///
public string DisplayName { get; set; }
///
///
///
public string ShowMenu { get; set; }
///
///
///
public string HomeUrl { get; set; }
}
}