public async Task <IEnumerable <Event> > AddEvents(IEnumerable <Event> events)
        {
            foreach (var @event in events)
            {
                @event.InitId();
                @event.Announcements
                .ForEach(x => { x.InitId();
                                x.Content.ForEach(y => y.InitId()); });
            }

            DocumentDBRepository <Event> eventRepo = new DocumentDBRepository <Event>();
            var result = await eventRepo.CreateItemsAsync(events);

            return(result);
        }
        public async Task <IEnumerable <Board> > AddBoards(IEnumerable <Board> boards)
        {
            foreach (var board in boards)
            {
                board.InitId();
                board.DateCreatedOn  = DateTime.UtcNow;
                board.DateModifiedOn = DateTime.UtcNow;

                board.Announcements
                .ForEach(x => { x.InitId();
                                x.Content.ForEach(y => y.InitId()); });
            }

            DocumentDBRepository <Board> boardRepo = new DocumentDBRepository <Board>();
            var result = await boardRepo.CreateItemsAsync(boards);

            return(result);
        }