|
|
@ -1,28 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
using System.IO;
|
|
|
|
|
|
|
|
using System.IO.Compression;
|
|
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using Microsoft.AspNetCore.DataProtection;
|
|
|
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
|
|
|
using NuGet.Packaging.Core;
|
|
|
|
|
|
|
|
using NuGet.Versioning;
|
|
|
|
|
|
|
|
using isnd.Data;
|
|
|
|
|
|
|
|
using isnd.Helpers;
|
|
|
|
using isnd.Helpers;
|
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
|
|
|
|
using isnd.Data.Catalog;
|
|
|
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
|
|
using isnd.Attributes;
|
|
|
|
namespace isnd.Controllers
|
|
|
|
namespace isnd.Controllers
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
public partial class PackagesController
|
|
|
|
public partial class PackagesController
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
[HttpDelete(_pkgRootPrefix + ApiConfig.Delete + "/{id}/{*lower}")]
|
|
|
|
[HttpDelete(_pkgRootPrefix + ApiConfig.Delete + "/{id}/{*lower}")]
|
|
|
|
public async Task<IActionResult> Delete(
|
|
|
|
public async Task<IActionResult> Delete(
|
|
|
|
[FromRoute][SafeName][Required] string id,
|
|
|
|
[FromRoute][SafeName][Required] string id,
|
|
|
|