using AsbCloudApp.Data; using AsbCloudApp.Data.DailyReport; using AsbCloudDb; using AsbCloudDb.Model; using AsbCloudInfrastructure; using AsbCloudInfrastructure.Services.DailyReport; using AsbCloudInfrastructure.Services.SAUB; using ClosedXML.Excel; using DocumentFormat.OpenXml.Wordprocessing; using Microsoft.EntityFrameworkCore; using Org.BouncyCastle.Utilities.Collections; using System; using System.Collections; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace ConsoleApp1 { class Program { private static AsbCloudDbContext db = ServiceFactory.Context; // use ServiceFactory to make services static void Main(/*string[] args*/) { DependencyInjection.MapsterSetup(); var sw = System.Diagnostics.Stopwatch.StartNew(); sw.Stop(); Console.WriteLine($"total time: {sw.ElapsedMilliseconds} ms"); Console.ReadLine(); } } }