using System.ComponentModel.DataAnnotations; namespace Hg.Core.WebApi.Controllers { [ApiSignatureFilterForbid] public class StatisticsController : BaseController { private readonly IStatisticsDomain _statisticsDomain; public StatisticsController(IStatisticsDomain statisticsDomain) { _statisticsDomain = statisticsDomain; } [HttpGet("MonthOutbound")] public async Task GetMonthOutboundData([Required] string year, [Required] string month) { return await _statisticsDomain.GetMonthOutboundData(year, month); } } }