private void EditGroupBoardFirst_LoadEditGroupBoardFirst(object sender, EventArgs e)
        {
            var groups         = (IList <Group>)EFGenericRepository.Get <Group>().ToList();
            var listGroupViews = _groupView.CreateListViews(groups.Count);

            for (int i = 0; i < listGroupViews.Length; i++)
            {
                var groupView = (IGroupView)listGroupViews[i].FillView(groups[i]);

                _editGroupBoardFirst.GroupCollection.Add((Control)groupView);
            }
        }
        private void StudentBoard_LoadBoard(object sender, EventArgs e)
        {
            var groups         = (IList <Group>)EFGenericRepository.Get <Group>().ToList();
            var listGroupViews = _groupView.CreateListViews(groups.Count);

            for (var i = 0; i < listGroupViews.Length; i++)
            {
                var groupView = (IGroupView)listGroupViews[i].FillView(groups[i]);

                _studentBoard.GroupsCollection.Add((Control)groupView);
            }
        }