Files
LeafWeb/WebCms/Services/PiscalQueue/StartPending.cs
T
poprhythm eeacfebec9 Add Hangfire
Adjust namespace
2016-11-17 13:36:13 -05:00

16 lines
372 B
C#

using LeafWeb.Core.Entities;
namespace LeafWeb.WebCms.Services.PiscalQueue
{
public class StartPending : PiscalQueueWorker
{
protected override void DoWorkInternal(LeafInput leafInput)
{
Logger.DebugFormat("LeafInput: {0}, Run", leafInput.Id);
PiscalService.Run(leafInput);
DataService.SetLeafInputStatus(leafInput, LeafInputStatusType.Running);
}
}
}