Exemple #1
0
        public Post GeneratePost()
        {
            Logger.LogInformation($"Starting {Type} generation.");
            var model    = ModelGenerator.GenerateModel();
            var postText = PostGenerator.GeneratePostText(model);

            Logger.LogInformation($"Finished {Type} generation.");
            return(new Post()
            {
                Content = postText, Type = Models.Options.PostTypes.AdmissionsByAge
            });
        }
Exemple #2
0
        public Post GeneratePost()
        {
            Logger.LogInformation($"Starting {Type} generation.");
            var model    = ModelGenerator.GenerateModel();
            var postText = PostGenerator.GeneratePostText(model);

            Logger.LogInformation($"Starting {Type} generation.");
            return(new Post()
            {
                Content = postText, Type = Type
            });
        }