42 lines
1.6 KiB
C#
42 lines
1.6 KiB
C#
using Sarand.BusinessMgr.Net.Core.Web.App;
|
|
using Sarand.BusinessMgr.Net.Standard.Base.App;
|
|
using Sarand.BusinessMgr.Net.Standard.Base.Bus;
|
|
using Sarand.Net.Standard.Base.Bus;
|
|
using Sarand.Net.Standard.Base.Security;
|
|
using static Sarand.BusinessMgr.Net.Standard.Base.App.Sbm.Config.Database;
|
|
using System.Collections.Generic;
|
|
using System;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace Sarand.BusinessMgr.Net.Core.Web.Control.App
|
|
{
|
|
//=======================================================================
|
|
public class SbmSessionData_Control : SbmSessionData_Web
|
|
{
|
|
//-------------------------------------------------------------------
|
|
// Construction.
|
|
[JsonConstructor]
|
|
private SbmSessionData_Control(long sessionIdx, int itemIdx, SbmSessionContext sessionContext) :
|
|
base(sessionIdx, itemIdx, sessionContext)
|
|
{ }
|
|
/// <summary>
|
|
/// SessionData construction.
|
|
/// <para>SessionContext and UserAccount must be supplied.</para>
|
|
/// <para>Organisation is optional.</para>
|
|
/// </summary>
|
|
public SbmSessionData_Control(SbmSessionContext sessionContext) :
|
|
base(sessionContext)
|
|
{
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
protected override UserData CreateUserData(SbmSessionContext sessionContext, SaSecurityItem securityItemUser, SbmAffiliate affiliateUser, List<SysIdString> supervisedOrganisations)
|
|
{
|
|
return null;
|
|
}
|
|
|
|
//-------------------------------------------------------------------
|
|
}
|
|
//=======================================================================
|
|
}
|