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

LoadRoles() private static method

private static LoadRoles ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
		private static async Task LoadRoles()
		{
			await BlogDbRepository.CreateRoleAsync(new BlogRole { Name = "Admin", Description = "Admin" });
			await BlogDbRepository.CreateRoleAsync(new BlogRole { Name = "Bloggity Staff", Description = "Bloggity Staff" });
			await BlogDbRepository.CreateRoleAsync(new BlogRole { Name = "Blogger", Description = "Blogger" });
		}