| | |
| | | /// <returns></returns> |
| | | [HttpPost, AllowAnonymous, Route("RequestOutboundTaskAsync")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] |
| | | public async Task<WebResponseContent> RequestOutboundTaskAsync([FromBody] RequestTaskDto taskDto) |
| | | public async Task<Dt_Task> RequestOutboundTaskAsync([FromBody] RequestTaskDto taskDto) |
| | | { |
| | | return await Service.RequestOutboundTaskAsync(taskDto); |
| | | } |
| | |
| | | |
| | | [HttpPost, AllowAnonymous, Route("SendERPTaskCompletion")] |
| | | [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] |
| | | public Task<WebResponseContent> SendERPTaskCompletion(string palletCode) |
| | | public Task<WebResponseContent> ERPAllocate(string palletCode) |
| | | { |
| | | return Service.SendERPTaskCompletion(palletCode); |
| | | return Service.ERPAllocate(palletCode); |
| | | } |
| | | } |