forked from ddrilling/AsbCloudServer
34 lines
900 B
C#
34 lines
900 B
C#
using AsbCloudApp.Data;
|
|
using AsbCloudApp.Data.DailyReport;
|
|
using AsbCloudDb;
|
|
using AsbCloudDb.Model;
|
|
using AsbCloudInfrastructure.Services.DailyReport;
|
|
using ClosedXML.Excel;
|
|
using DocumentFormat.OpenXml.Wordprocessing;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Org.BouncyCastle.Utilities.Collections;
|
|
using System;
|
|
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*/)
|
|
{
|
|
Task.Run(() => { throw new Exception(); })
|
|
.ContinueWith(t => { Console.WriteLine("Dooom"); });
|
|
Console.WriteLine($"total time: ms");
|
|
Console.ReadLine();
|
|
}
|
|
}
|
|
}
|