updates modified date when enabling or disabling channel
This commit is contained in:
@@ -87,6 +87,7 @@ namespace Tv7Playlist.Controllers
|
|||||||
|
|
||||||
_logger.LogInformation($"Setting enabled of channel {id} - {entry.Name} to {isEnabled}");
|
_logger.LogInformation($"Setting enabled of channel {id} - {entry.Name} to {isEnabled}");
|
||||||
entry.IsEnabled = isEnabled;
|
entry.IsEnabled = isEnabled;
|
||||||
|
entry.Modified = DateTime.Now;
|
||||||
}
|
}
|
||||||
|
|
||||||
await _playlistContext.SaveChangesAsync();
|
await _playlistContext.SaveChangesAsync();
|
||||||
|
Reference in New Issue
Block a user