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.
|
|
|
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.Controllers;
|
|
|
|
using WTA.Shared.Data;
|
|
|
|
|
|
|
|
namespace WTA.Application.Identity.Controllers;
|
|
|
|
|
|
|
|
public class BOMController : GenericController<BOM, BOM, BOM, BOM, BOM, BOM>
|
|
|
|
{
|
|
|
|
public BOMController(ILogger<BOM> logger, IRepository<BOM> repository) : base(logger, repository)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
[NonAction]
|
|
|
|
public override IActionResult Create([FromBody] BOM model)
|
|
|
|
{
|
|
|
|
return base.Create(model);
|
|
|
|
}
|
|
|
|
|
|
|
|
[NonAction]
|
|
|
|
public override IActionResult Delete([FromBody] Guid[] guids)
|
|
|
|
{
|
|
|
|
return base.Delete(guids);
|
|
|
|
}
|
|
|
|
|
|
|
|
[NonAction]
|
|
|
|
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false)
|
|
|
|
{
|
|
|
|
return base.Import(file, partial, replace);
|
|
|
|
}
|
|
|
|
}
|