37 lines
947 B
C#
37 lines
947 B
C#
//using Microsoft.AspNetCore.Mvc;
|
|
//using System.Threading.Tasks;
|
|
//using zero.Core.Api;
|
|
//using zero.Core.Entities;
|
|
|
|
//namespace zero.Web.Controllers
|
|
//{
|
|
// public class RecycleBinController : BackofficeController
|
|
// {
|
|
// IRecycleBinApi Api;
|
|
|
|
// public RecycleBinController(IRecycleBinApi api)
|
|
// {
|
|
// Api = api;
|
|
// }
|
|
|
|
|
|
// public async Task<Paged<RecycledEntity>> GetByQuery([FromQuery] RecycleBinListQuery query)
|
|
// {
|
|
// query.IncludeInactive = true;
|
|
// return await Api.GetByQuery(query);
|
|
// }
|
|
|
|
|
|
// public async Task<int> GetCountByOperation([FromQuery] string operationId) => await Api.GetCountByOperation(operationId);
|
|
|
|
|
|
// [HttpDelete]
|
|
// public async Task<Result<RecycledEntity>> Delete([FromQuery] string id) => await Api.Delete(id);
|
|
|
|
|
|
// [HttpDelete]
|
|
// public async Task<Result<RecycledEntity>> DeleteByGroup([FromQuery] string group) => await Api.DeleteByGroup(group);
|
|
|
|
// }
|
|
//}
|