public async Task TorrentsAddMagnet(String magnetLink, String category, Boolean autoDownload, Boolean autoUnpack, Boolean autoDelete) { await _torrents.UploadMagnet(magnetLink, category, autoDownload, autoUnpack, autoDelete); }
public async Task TorrentsAdd(String magnetLink, Boolean autoDownload, Boolean autoDelete) { await _torrents.UploadMagnet(magnetLink, autoDownload, autoDelete); }
public async Task <ActionResult> UploadMagnet([FromBody] TorrentControllerUploadMagnetRequest request) { await _torrents.UploadMagnet(request.MagnetLink, null, request.AutoDownload, request.AutoUnpack, request.AutoDelete); return(Ok()); }