updates modified date when enabling or disabling channel

This commit is contained in:
2020-02-10 23:42:50 +01:00
parent f13c52bf69
commit 5784897331

View File

@@ -87,6 +87,7 @@ namespace Tv7Playlist.Controllers
_logger.LogInformation($"Setting enabled of channel {id} - {entry.Name} to {isEnabled}");
entry.IsEnabled = isEnabled;
entry.Modified = DateTime.Now;
}
await _playlistContext.SaveChangesAsync();