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.
35 lines
1.1 KiB
35 lines
1.1 KiB
2 years ago
|
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 MaterialRelationshipController : GenericController<MaterialRelationship, MaterialRelationship, MaterialRelationship, MaterialRelationship, MaterialRelationship, MaterialRelationship>
|
||
|
{
|
||
|
public MaterialRelationshipController(ILogger<MaterialRelationship> logger, IRepository<MaterialRelationship> repository) : base(logger, repository)
|
||
|
{
|
||
|
}
|
||
|
|
||
|
[NonAction]
|
||
|
public override IActionResult Create([FromBody] MaterialRelationship model)
|
||
|
{
|
||
|
return base.Create(model);
|
||
|
}
|
||
|
|
||
|
[NonAction]
|
||
|
public override IActionResult Delete([FromBody] Guid[] guids)
|
||
|
{
|
||
|
return base.Delete(guids);
|
||
|
}
|
||
|
|
||
|
[NonAction]
|
||
|
public override IActionResult Import([Required] IFormFile importexcelfile, bool partial = false, bool replace = false)
|
||
|
{
|
||
|
return base.Import(importexcelfile, partial, replace);
|
||
|
}
|
||
|
}
|