You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.3 KiB
41 lines
1.3 KiB
using System.ComponentModel.DataAnnotations;
|
|
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Microsoft.Extensions.Logging;
|
|
using WTA.Application.Identity.Entities.SystemManagement;
|
|
using WTA.Shared.Application;
|
|
using WTA.Shared.Controllers;
|
|
using WTA.Shared.Data;
|
|
|
|
namespace WTA.Application.Identity.Controllers;
|
|
|
|
public class INVOICE_DETAILController : GenericController<INVOICE_DETAIL, INVOICE_DETAIL, INVOICE_DETAIL, INVOICE_DETAIL, INVOICE_DETAIL, INVOICE_DETAIL>
|
|
{
|
|
public INVOICE_DETAILController(ILogger<INVOICE_DETAIL> logger, IRepository<INVOICE_DETAIL> repository) : base(logger, repository)
|
|
{
|
|
}
|
|
|
|
[NonAction]
|
|
public override IActionResult Import([Required] IFormFile importexcelfile, bool partial = false, bool replace = false)
|
|
{
|
|
return base.Import(importexcelfile);
|
|
}
|
|
|
|
[NonAction]
|
|
public override IActionResult Delete([FromBody] Guid[] guids)
|
|
{
|
|
return base.Delete(guids);
|
|
}
|
|
|
|
[NonAction]
|
|
public override IActionResult Export([FromBody] PaginationModel<INVOICE_DETAIL, INVOICE_DETAIL> model, bool includeAll = false, bool includeDeleted = false)
|
|
{
|
|
return base.Export(model, includeAll, includeDeleted);
|
|
}
|
|
|
|
[NonAction]
|
|
public override IActionResult Create([FromBody] INVOICE_DETAIL model)
|
|
{
|
|
return base.Create(model);
|
|
}
|
|
}
|
|
|