mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 17:13:49 -07:00
Ajax Links are all handled by jQuery now, no more MvcAjax handlers.
This commit is contained in:
parent
7a1301610a
commit
4a55d08130
14 changed files with 37 additions and 37 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue