Added ability to automatically track last modified and created timestamps for entities via an interface. DBContext will automatically update for us.
This commit is contained in:
parent
55a44000fc
commit
d632e53f18
11 changed files with 660 additions and 17 deletions
|
@ -223,7 +223,7 @@ namespace API.Services
|
|||
foreach (var seriesKey in series.Keys)
|
||||
{
|
||||
var s = UpdateSeries(seriesKey, series[seriesKey].ToArray());
|
||||
Console.WriteLine($"Created/Updated series {s.Name}");
|
||||
_logger.LogInformation($"Created/Updated series {s.Name}");
|
||||
libraryEntity.Series.Add(s);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue