using Microsoft.AspNetCore.Authorization; 
 | 
using Microsoft.AspNetCore.Http; 
 | 
using Microsoft.AspNetCore.Mvc; 
 | 
using WIDESEAWCS_Core; 
 | 
using WIDESEAWCS_Tasks; 
 | 
  
 | 
namespace WIDESEAWCS_Server.Controllers.BZLOCK 
 | 
{ 
 | 
    [Route("api/[controller]")] 
 | 
    [ApiController] 
 | 
    public class JCBZYLController : Controller 
 | 
    { 
 | 
        private readonly IGetStationService _getStationService; 
 | 
        public JCBZYLController(IGetStationService getStationService) { _getStationService = getStationService; } 
 | 
  
 | 
        [HttpPost, Route("GetStationHasPallet"), AllowAnonymous] 
 | 
        public WebResponseContent GetStationHasPallet([FromBody]List<string> stations) 
 | 
        { 
 | 
           return _getStationService.GetStationHasPallet(stations); 
 | 
        } 
 | 
    } 
 | 
} 
 |