using System; using System.Linq; using System.Threading.Tasks; using System.Collections.Generic; using Microsoft.EntityFrameworkCore; using Microsoft.Extensions.Logging; using AyaNova.Models; using AyaNova.Util; namespace AyaNova.Biz { internal static class EventLogProcessor { private static ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger("EventLogProcessor"); /// /// Add an entry to the log /// /// /// /// internal static void AddEntry(Event newEvent, AyContext ct) { ct.Event.Add(newEvent); ct.SaveChanges(); } ///////////////////////////////////////////////////////////////////// }//eoc }//eons