v1.1.0.0
This commit is contained in:
@@ -34,8 +34,11 @@ namespace Saxonite.Net.Core.Web.Online.Controllers
|
||||
//-------------------------------------------------------------------
|
||||
// Get Organisation List ajax request.
|
||||
//-------------------------------------------------------------------
|
||||
public class AjaxResponse_OrganisationList : AjaxResponse_Data
|
||||
private class AjaxResponse_OrganisationList : AjaxResponse_Data
|
||||
{
|
||||
// Construction.
|
||||
public AjaxResponse_OrganisationList(SaxModel_Online model) : base(model) { }
|
||||
// Organisation list.
|
||||
public List<OrganisationResponseData> Organisations { get; } = new List<OrganisationResponseData>();
|
||||
}
|
||||
//-------------------------------------------------------------------
|
||||
@@ -45,7 +48,7 @@ namespace Saxonite.Net.Core.Web.Online.Controllers
|
||||
{
|
||||
String fn = GetType().Name + ".Ajax_GetOrganisationList";
|
||||
String messageTitle = Localiser["organisation.caption.organisations"];
|
||||
AjaxResponse_OrganisationList responseData = new AjaxResponse_OrganisationList();
|
||||
AjaxResponse_OrganisationList responseData = new AjaxResponse_OrganisationList(model);
|
||||
|
||||
// Validate session and referrer.
|
||||
if (!ValidReferer)
|
||||
@@ -103,8 +106,11 @@ namespace Saxonite.Net.Core.Web.Online.Controllers
|
||||
//-------------------------------------------------------------------
|
||||
// Get Member Organisation List ajax request.
|
||||
//-------------------------------------------------------------------
|
||||
public class AjaxResponse_MemberOrganisationList : AjaxResponse_Data
|
||||
private class AjaxResponse_MemberOrganisationList : AjaxResponse_Data
|
||||
{
|
||||
// Construction.
|
||||
public AjaxResponse_MemberOrganisationList(SaxModel_Online model) : base(model) { }
|
||||
// Organisation list.
|
||||
public List<OrganisationResponseData> Organisations { get; } = new List<OrganisationResponseData>();
|
||||
}
|
||||
//-------------------------------------------------------------------
|
||||
@@ -114,7 +120,7 @@ namespace Saxonite.Net.Core.Web.Online.Controllers
|
||||
{
|
||||
String fn = GetType().Name + ".Ajax_GetMemberOrganisationList";
|
||||
String messageTitle = Localiser["organisation.caption.organisations"];
|
||||
AjaxResponse_MemberOrganisationList responseData = new AjaxResponse_MemberOrganisationList();
|
||||
AjaxResponse_MemberOrganisationList responseData = new AjaxResponse_MemberOrganisationList(model);
|
||||
|
||||
// Validate session and referrer.
|
||||
if (!ValidReferer)
|
||||
|
||||
Reference in New Issue
Block a user