Esempio n. 1
0
        /// <summary>
        /// テーマ登録日時更新
        /// </summary>
        /// <param name="model"></param>
        private void UpdateThemeDate(ThemeModel model)
        {
            var target = ThemeList.Where(x => x.ThemeId == model.ThemeId).SingleOrDefault();

            target.InputDate = DateTime.Now;
        }
Esempio n. 2
0
        /// <summary>
        /// テーマ削除
        /// </summary>
        /// <param name="model"></param>
        private void DeleteTheme(ThemeModel model)
        {
            var target = ThemeList.Where(x => x.ThemeId == model.ThemeId).SingleOrDefault();

            ThemeList.Remove(target);
        }