| | |
| | | } |
| | | |
| | | [HttpPost, Route("AddCZTask"), AllowAnonymous] |
| | | public WebResponseContent AddCZTask([FromBody] CZTaskDto czTaskDto) |
| | | public Task<WebResponseContent> AddCZTask([FromBody] CZTaskDto czTaskDto) |
| | | { |
| | | return WebResponseContent.Instance.OK(); |
| | | return _taskCZService.AddTaskCZAsync(czTaskDto); |
| | | } |
| | | |
| | | [HttpPost, Route("EmptyTask"), AllowAnonymous] |
| | | public Task<WebResponseContent> EmptyTask([FromBody] SaveModel saveModel) |
| | | { |
| | | return _taskCZService.EmptyTask(saveModel); |
| | | } |
| | | [HttpPost, Route("OutBoundTask"), AllowAnonymous] |
| | | public Task<WebResponseContent> OutBoundTask([FromBody] string sourceAddress) |
| | | { |
| | | return _taskCZService.OutBoundTask(sourceAddress); |
| | | } |
| | | |
| | | [HttpPost, Route("OutBoundTasks"), AllowAnonymous] |
| | | public Task<WebResponseContent> OutBoundTasks([FromBody] SaveModel saveModel) |
| | | { |
| | | return _taskCZService.OutBoundTasks(saveModel); |
| | | } |
| | | } |
| | | } |