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.

37 lines
1.1 KiB

2 years ago
using System;
using System.Collections.Generic;
2 years ago
using System.ComponentModel.DataAnnotations;
2 years ago
using System.Linq;
using System.Text;
using System.Threading.Tasks;
2 years ago
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using WTA.Application.Identity.Entities.SystemManagement;
2 years ago
using WTA.Shared.Application;
2 years ago
using WTA.Shared.Controllers;
using WTA.Shared.Data;
namespace WTA.Application.Identity.Controllers;
2 years ago
public class BOMController : GenericController<BOM, BOM, BOM, BOM, BOM, BOM>
2 years ago
{
2 years ago
public BOMController(ILogger<BOM> logger, IRepository<BOM> repository) : base(logger, repository)
2 years ago
{
}
[NonAction]
2 years ago
public override IActionResult Create([FromBody] BOM model)
2 years ago
{
2 years ago
return base.Create(model);
2 years ago
}
[NonAction]
public override IActionResult Delete([FromBody] Guid[] guids)
{
return base.Delete(guids);
}
[NonAction]
2 years ago
public override IActionResult Import([Required] IFormFile file, bool partial = false, bool replace = false)
2 years ago
{
2 years ago
return base.Import(file, partial, replace);
2 years ago
}
}