public static ArticleViewModel CreateArticle() { ArticleViewModel article = new ArticleViewModel() { Name = GetDataHelper.GetNameFromUser(), PublicationDate = GetDataHelper.GetDateTimeFromUser(), Site = GetDataHelper.GetSiteAddressFromUser(), }; return(article); }
public static VideoViewModel CreateVideo() { VideoViewModel video = new VideoViewModel() { Name = GetDataHelper.GetNameFromUser(), Link = GetDataHelper.GetSiteAddressFromUser(), Duration = GetDataHelper.GetVideoDuration(), Quality = GetDataHelper.GetVideoQuality(), }; return(video); }