This commit is contained in:
@@ -7,6 +7,7 @@ using AyaNova.Models;
|
|||||||
|
|
||||||
namespace AyaNova.Biz
|
namespace AyaNova.Biz
|
||||||
{
|
{
|
||||||
|
//This class exists to process bulk tag job operations only
|
||||||
internal class TagBiz : BizObject, IJobObject
|
internal class TagBiz : BizObject, IJobObject
|
||||||
{
|
{
|
||||||
internal TagBiz(AyContext dbcontext, long currentUserId, long userTranslationId, AuthorizationRoles UserRoles)
|
internal TagBiz(AyContext dbcontext, long currentUserId, long userTranslationId, AuthorizationRoles UserRoles)
|
||||||
@@ -47,10 +48,6 @@ namespace AyaNova.Biz
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// /// Handle the test job
|
|
||||||
/// </summary>
|
|
||||||
/// <param name="job"></param>
|
|
||||||
private async Task ProcessBulkJobAsync(OpsJob job)
|
private async Task ProcessBulkJobAsync(OpsJob job)
|
||||||
{
|
{
|
||||||
|
|
||||||
@@ -58,7 +55,6 @@ namespace AyaNova.Biz
|
|||||||
await JobsBiz.UpdateJobStatusAsync(job.GId, JobStatus.Running, ct);
|
await JobsBiz.UpdateJobStatusAsync(job.GId, JobStatus.Running, ct);
|
||||||
await JobsBiz.LogJobAsync(job.GId, $"Tag::BulkJob started...", ct);
|
await JobsBiz.LogJobAsync(job.GId, $"Tag::BulkJob started...", ct);
|
||||||
|
|
||||||
|
|
||||||
//DO JOB HERE
|
//DO JOB HERE
|
||||||
|
|
||||||
await JobsBiz.LogJobAsync(job.GId, "Tag::BulkJob completed", ct);
|
await JobsBiz.LogJobAsync(job.GId, "Tag::BulkJob completed", ct);
|
||||||
|
|||||||
Reference in New Issue
Block a user