Ejemplo n.º 1
0
        public void EventsTest()
        {
            var events      = store.GetEvents(0, 3);
            var eventsCount = store.GetEventsCount();

            var event1 = new Event()
            {
                Name = "n1", Description = "d1", UserID = SecurityContext.CurrentAccount.ID.ToString()
            };

            store.SaveEvent(event1);
            store.SaveEvent(event1);
            var event2 = store.GetEvent(event1.Id);

            store.RemoveEvent(event1.Id);
        }