31 lines
		
	
	
		
			748 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			748 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using IronIntel.Contractor.Site.Security;
 | |
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Linq;
 | |
| using System.Web;
 | |
| using System.Web.UI;
 | |
| using System.Web.UI.WebControls;
 | |
| 
 | |
| public partial class Security_UserGroup : UserGroupBasePage
 | |
| {
 | |
|     protected void Page_Load(object sender, EventArgs e)
 | |
|     {
 | |
|         if (!CheckLoginSession())
 | |
|         {
 | |
|             // TODO: sub page
 | |
|             //RedirectToLoginPage();
 | |
|         }
 | |
|         else
 | |
|         {
 | |
|             string methodName = Request.Form["MethodName"];
 | |
|             if (!string.IsNullOrEmpty(methodName))
 | |
|             {
 | |
|                 ProcessRequest(methodName);
 | |
|             }
 | |
|             else if (!IsPostBack)
 | |
|             {
 | |
|                 // todo nothing
 | |
|             }
 | |
|         }
 | |
|     }
 | |
| } |