using Neo.LegitimateLicences.Data.Models;
using Neo.Afx.Services;
namespace Neo.LegitimateLicences.WinService.Extensions
{
public class AutoVerificationTask : Worker
{
public AutoVerificationTask()
{
}
///
/// Runs the task with the given ID.
///
/// The task ID.
/// The task status
public int Run(long taskID)
{
using(var database = new LegitimateDatabase(Settings["ConnectionString"]))
{
return database.DoAutoVerificationTask(UserID, taskID);
}
}
}
}