This commit is contained in:
@@ -60,8 +60,9 @@ namespace AyaNova.Api.Controllers
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//TODO: Centralize this code somewhere else, it's going to be needed for backup as well
|
//TODO: Centralize this code somewhere else, it's going to be needed for backup as well
|
||||||
//consider the 1 hour is this legit depending on client
|
//consider the 1 hour thing, is this legit depending on client?
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get download token
|
/// Get download token
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ namespace AyaNova.Biz
|
|||||||
internal class ImportAyaNova7Biz : BizObject, IJobObject
|
internal class ImportAyaNova7Biz : BizObject, IJobObject
|
||||||
{
|
{
|
||||||
private readonly AyContext ct;
|
private readonly AyContext ct;
|
||||||
private readonly long userId;
|
public readonly long userId;
|
||||||
private readonly AuthorizationRoles userRoles;
|
private readonly AuthorizationRoles userRoles;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ namespace AyaNova.Biz
|
|||||||
internal class JobOperationsBiz : BizObject
|
internal class JobOperationsBiz : BizObject
|
||||||
{
|
{
|
||||||
private readonly AyContext ct;
|
private readonly AyContext ct;
|
||||||
private readonly long userId;
|
public readonly long userId;
|
||||||
private readonly AuthorizationRoles userRoles;
|
private readonly AuthorizationRoles userRoles;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ namespace AyaNova.Biz
|
|||||||
internal class LocaleBiz : BizObject, IImportAyaNova7Object
|
internal class LocaleBiz : BizObject, IImportAyaNova7Object
|
||||||
{
|
{
|
||||||
private readonly AyContext ct;
|
private readonly AyContext ct;
|
||||||
private readonly long userId;
|
public readonly long userId;
|
||||||
private readonly AuthorizationRoles userRoles;
|
private readonly AuthorizationRoles userRoles;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ namespace AyaNova.Biz
|
|||||||
internal class TagBiz : BizObject, IImportAyaNova7Object
|
internal class TagBiz : BizObject, IImportAyaNova7Object
|
||||||
{
|
{
|
||||||
private readonly AyContext ct;
|
private readonly AyContext ct;
|
||||||
private readonly long userId;
|
public readonly long userId;
|
||||||
private readonly AuthorizationRoles userRoles;
|
private readonly AuthorizationRoles userRoles;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ namespace AyaNova.Biz
|
|||||||
internal class TagMapBiz : BizObject
|
internal class TagMapBiz : BizObject
|
||||||
{
|
{
|
||||||
private readonly AyContext ct;
|
private readonly AyContext ct;
|
||||||
private readonly long userId;
|
public readonly long userId;
|
||||||
private readonly AuthorizationRoles userRoles;
|
private readonly AuthorizationRoles userRoles;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ namespace AyaNova.Biz
|
|||||||
internal class TrialBiz : BizObject, IJobObject
|
internal class TrialBiz : BizObject, IJobObject
|
||||||
{
|
{
|
||||||
private readonly AyContext ct;
|
private readonly AyContext ct;
|
||||||
private readonly long userId;
|
public readonly long userId;
|
||||||
private readonly AuthorizationRoles userRoles;
|
private readonly AuthorizationRoles userRoles;
|
||||||
// private readonly ApiServerState serverState;
|
// private readonly ApiServerState serverState;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user