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 }); }
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 }); }