public IEnumerable <Testimonial> Get()
        {
            ContentIO fileInfo = new ContentIO();

            return(fileInfo.getAllTestimonialComments());
        }
        public void Post([FromBody] Testimonial postComment)
        {
            ContentIO fileInfo = new ContentIO();

            fileInfo.saveTestimonialComment(postComment);
        }
Esempio n. 3
0
        public IEnumerable <string> Get()
        {
            ContentIO fileInfo = new ContentIO();

            return(fileInfo.GetAboutMe());
        }
        public IEnumerable <Content> Get()
        {
            ContentIO fileInfo = new ContentIO();

            return(fileInfo.GetContentInfo());
        }
Esempio n. 5
0
 public UpdateWebsiteVisitor(string rootInputDirectoryPath, string rootOutputDirectoryPath)
 {
     contentIO = new ContentIO(rootInputDirectoryPath, rootOutputDirectoryPath);
 }
Esempio n. 6
0
 internal UpdateMetaContentsVisitor(string rootInputDirectoryPath, string rootOutputDirectoryPath)
 {
     contentIO = new ContentIO(rootInputDirectoryPath, rootOutputDirectoryPath);
 }
        public Dictionary <string, string[]> Get()
        {
            ContentIO fileInfo = new ContentIO();

            return(fileInfo.GetSkillInfo());
        }