using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Volo.Abp.Application.Dtos;
using Volo.Abp.AspNetCore.Mvc;
using Win_in.Sfs.Basedata.Application.Contracts;
namespace Win_in.Sfs.Wms.Pda.Controllers.BaseDatas;
///
///
[ApiController]
[Route($"{PdaHostConst.ROOT_ROUTE}customer")]
public class Customertroller : AbpController
{
private readonly ICustomerAppService _customerAppService;
///
///
///
public Customertroller(ICustomerAppService customerAppService)
{
_customerAppService = customerAppService;
}
///
///
[HttpPost("get-list")]
public virtual async Task> GetListAsync(SfsBaseDataRequestInputBase input)
{
var dto = await _customerAppService.GetPagedListByFilterAsync(input).ConfigureAwait(false);
return dto;
}
}