private static void LoadAlbums()
{
foreach (var u in _users)
{
AlbumRepository.Add(new Album
{
AlbumName = "Miscellaneous",
UserId = u.UserId,
CreatedBy = u.UserId,
CreatedDate = DateTime.Now,
ModifiedBy = u.UserId,
ModifiedDate = DateTime.Now,
IsUserDefault = false
});
AlbumRepository.Add(new Album
{
AlbumName = "Stuff",
UserId = u.UserId,
CreatedBy = u.UserId,
CreatedDate = DateTime.Now,
ModifiedBy = u.UserId,
ModifiedDate = DateTime.Now,
IsUserDefault = true
});
AlbumRepository.Add(new Album
{
AlbumName = "Profile",
UserId = u.UserId,
CreatedBy = u.UserId,
CreatedDate = DateTime.Now,
ModifiedBy = u.UserId,
ModifiedDate = DateTime.Now,
IsUserDefault = false
});
AlbumRepository.Add(new Album
{
AlbumName = "Background",
UserId = u.UserId,
CreatedBy = u.UserId,
CreatedDate = DateTime.Now,
ModifiedBy = u.UserId,
ModifiedDate = DateTime.Now,
IsUserDefault = false
});
}
AddConsoleMessage("Successfully added albums...");
}