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

LoadTags() private static method

private static LoadTags ( ) : void
return void
		private static void LoadTags()
		{
			TagRepository.Add(new Tag
			{
				CreatedBy = 1,
				CreatedDate = DateTime.Now,
				ModifiedBy = 1,
				ModifiedDate = DateTime.Now,
				TagId = 1,
				TagName = "lorem"
			});
			TagRepository.Add(new Tag
			{
				CreatedBy = 2,
				CreatedDate = DateTime.Now,
				ModifiedBy = 2,
				ModifiedDate = DateTime.Now,
				TagId = 2,
				TagName = "ipsum"
			});
			TagRepository.Add(new Tag
			{
				CreatedBy = 3,
				CreatedDate = DateTime.Now,
				ModifiedBy = 3,
				ModifiedDate = DateTime.Now,
				TagId = 3,
				TagName = "dolor"
			});

			_tags = TagRepository.Find(a => a.TagId > 0, false).ToList();

			AddConsoleMessage("Successfully added tags...");
		}