public static void TestCronJobAsync() { TestCronJob test = new TestCronJob() { Message = "Test Cronjon " + DateTime.UtcNow.AddHours(7).ToString() }; TradeZoneMapContext context = new TradeZoneMapContext(); context.TestCronJobs.Add(test); context.SaveChanges(); }
public int Commit() { return(_context.SaveChanges()); }