示例#1
0
        public static void LoadMockData(this IEntryStore store)
        {
            var a = new Entry()
            {
                Title = "Sprint Planning Meeting", Content = "1. Scope"
            };
            var b = new Entry()
            {
                Title = "Sprint Planning Meeting", Content = "1. Scope"
            };
            var c = new Entry()
            {
                Title = "Sprint Planning Meeting", Content = "1. Scope"
            };

            store.WriteAsync(a).Wait();
            store.WriteAsync(b).Wait();
            store.WriteAsync(c).Wait();
        }
示例#2
0
        public static void LoadMockData(this IEntryStore store)
        {
            var a = new Entry()
            {
                Title = "Sprint Planning Meeting", Content = "1. Scope 2. Backlog 3. Duration"
            };
            var b = new Entry()
            {
                Title = "Daily Scrum Stand-up", Content = "1. Yesterday 2. Today 3. Impediments"
            };
            var c = new Entry()
            {
                Title = "Sprint Retrospective", Content = "1. Reflection 2. Actions"
            };

            store.WriteAsync(a).Wait();
            store.WriteAsync(b).Wait();
            store.WriteAsync(c).Wait();
        }
示例#3
0
        public static void LoadMockData(this IEntryStore store)
        {
            var a = new Entry()
            {
                ExpenseCategory = "Food", ExpenseName = "Chick-Fil-A"
            };
            var b = new Entry()
            {
                ExpenseCategory = "Food", ExpenseName = "Wendy's"
            };
            var c = new Entry()
            {
                ExpenseCategory = "Food", ExpenseName = "McDonalds"
            };

            store.WriteAsync(a).Wait();
            store.WriteAsync(b).Wait();
            store.WriteAsync(c).Wait();
        }