예제 #1
0
        public void Reset(bool withValidation)
        {
            if (withValidation)
            {
                if (Pages.Count > 0)
                {
                    var result = _uiService.ShowConfirmWindow(Constants.ConfirmAlbumReset, "");
                    if (result == false)
                    {
                        return;
                    }
                }
            }

            foreach (var page in Pages)
            {
                page.Pictures.Clear();
            }
            Pages.Clear();
        }