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