using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using XYY.Data.Model.Standard.Tracking;
using XYY.Core.Standard.Mvc;
using XYY.TaskTrack.Standard;
using XYY.Data.Model.Standard.Tracking._17; 
using XYY.Service.Standard.TrackingService;

namespace XYY.API.Tracking.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class _17TrackingConvertController : ControllerBase
    {
        I17TrackingService i17TrackingService;
        public async Task<ApiJsonModel<PostTrackingRequest>> Post([FromBody] _17TrackingMQData hook)
        {
            return await i17TrackingService.Convert(hook);
        } 
    }
}
