private void bgwCheckForNewVersion_DoWork(object sender, DoWorkEventArgs e)
{
try
{
IBatchGuyNotificationService batchGuyNotificationservice = e.Argument as BatchGuyNotificationService;
BatchGuyLatestVersionInfo batchGuyLatestVersionInfo = batchGuyNotificationservice.GetLatestVersionInfo();
e.Result = batchGuyLatestVersionInfo;
}
catch (Exception ex)
{
_loggingService.LogErrorFormat(ex, MethodBase.GetCurrentMethod().Name);
}
}