public void DublicatedPages() { var dublicated = _pageManager.DublicatePages(_groupDao.SourcePages, _groupDao.Group.Count); int remainded = dublicated.Length % Infrastructure.Common.Properties.GetInstance().Groups; _groupDao.DublicatedPages = remainded != 0 ? _pageManager.AddEmptyPages(dublicated, Infrastructure.Common.Properties.GetInstance().Groups - remainded) : dublicated; }