using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Text.Json; using TEAMModelOS.SDK.DI; using TEAMModelOS.Models; using Azure.Cosmos; using Microsoft.Extensions.Options; namespace TEAMModeBI.Controllers.BIHome { [Route("homestatis")] [ApiController] public class HomeStatisController : ControllerBase { private readonly AzureCosmosFactory _azureCosmos; private readonly DingDing _dingDing; private readonly Option _option; public HomeStatisController(AzureCosmosFactory azureCosmos, DingDing dingDing, IOptionsSnapshot