Ajax Links are all handled by jQuery now, no more MvcAjax handlers.

This commit is contained in:
Mark McDowall 2012-02-26 00:36:47 -08:00
parent 7a1301610a
commit 4a55d08130
14 changed files with 37 additions and 37 deletions

View file

@ -14,14 +14,12 @@ namespace NzbDrone.Web.Controllers
_jobProvider = jobProvider;
}
[HttpPost]
public JsonResult Search(int episodeId)
{
_jobProvider.QueueJob(typeof(EpisodeSearchJob), episodeId);
return JsonNotificationResult.Info("Queued");
}
[HttpPost]
public JsonResult SearchSeason(int seriesId, int seasonNumber)
{
_jobProvider.QueueJob(typeof(SeasonSearchJob), seriesId, seasonNumber);