コード例 #1
0
        public static ArticleViewModel CreateArticle()
        {
            ArticleViewModel article = new ArticleViewModel()
            {
                Name            = GetDataHelper.GetNameFromUser(),
                PublicationDate = GetDataHelper.GetDateTimeFromUser(),
                Site            = GetDataHelper.GetSiteAddressFromUser(),
            };

            return(article);
        }