Files
LeafWeb/WebCms/Services/PiscalQueue/StartPending.cs
T
poprhythm 9e710effc1 Umbraco update
Error email updates
Piscal communication error handling
Empty page for terms of service
2017-01-04 08:49:36 -05:00

16 lines
433 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, details: $"ServiceInfo: {PiscalService.ServiceDescription}");
}
}
}