Merge Repos

This commit is contained in:
Fergal Moran
2017-10-30 20:42:23 +00:00
parent 2e7090971e
commit 8d69c72b83
233 changed files with 29363 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
using System.Threading.Tasks;
using Hangfire;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using PodNoms.Api.Services.Jobs;
namespace PodNoms.Api.Controllers
{
[Authorize]
[Route("[controller]")]
public class JobController : Controller
{
[HttpGet("processorphans")]
public IActionResult ProcessOrphans()
{
var infoJobId = BackgroundJob.Enqueue<ClearOrphanAudioJob>(service => service.Execute());
return Ok();
}
}
}