using System.DirectoryServices.Protocols;
|
using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Mvc;
|
using WIDESEA_Core;
|
using WIDESEA_Core.BaseController;
|
using WIDESEA_IBasicService;
|
using WIDESEA_Model.Models;
|
|
namespace WIDESEA_WMSServer.Controllers.Basic
|
{
|
[Route("api/MaterielInfo")]
|
[ApiController]
|
public class MaterielInfoController : ApiBaseController<IMaterielInfoService, Dt_MaterielInfo>
|
{
|
public MaterielInfoController(IMaterielInfoService service) : base(service)
|
{
|
}
|
|
[HttpPost,Route("GetMaterialTypes")]
|
public WebResponseContent GetMaterialTypes([FromBody] SearchRequest request)
|
{
|
return Service.GetMaterialTypes(request);
|
}
|
}
|
}
|