Blog.Tools.ApplicationSetup.Program.LoadCommentLikes C# (CSharp) Method

LoadCommentLikes() private static method

private static LoadCommentLikes ( ) : void
return void
		private static void LoadCommentLikes()
		{
			foreach (var c in _comments)
			{
				for (var i = 1; i < 4; i++)
				{
					CommentLikeRepository.Add(new CommentLike
					{
						CreatedBy = i,
						CreatedDate = DateTime.Now.AddHours(-i),
						ModifiedBy = i,
						ModifiedDate = DateTime.Now.AddHours(-i),
						CommentId = c.CommentId,
						UserId = i,
					});
				}
			}

			AddConsoleMessage("Successfully added comment likes...");
		}