add site
This commit is contained in:
40
Site/OTRConfig/OTRConfig.aspx.cs
Normal file
40
Site/OTRConfig/OTRConfig.aspx.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
using IronIntel.Contractor;
|
||||
using IronIntel.Contractor.Site.Security;
|
||||
using IronIntel.Contractor.Users;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
public partial class OTRConfig_OTRConfig : SecurityBasePage
|
||||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!CheckLoginSession())
|
||||
{
|
||||
RedirectToLoginPage();
|
||||
}
|
||||
else
|
||||
{
|
||||
string methodName = Request.Form["MethodName"];
|
||||
if (!string.IsNullOrEmpty(methodName))
|
||||
{
|
||||
ProcessRequest(methodName);
|
||||
}
|
||||
else if (!IsPostBack)
|
||||
{
|
||||
this.Title = PageTitle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected override int FeatureID
|
||||
{
|
||||
get
|
||||
{
|
||||
return Foresight.Fleet.Services.User.Feature.HARSH_DRIVING;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user