예제 #1
0
        public void Update(Content content)
        {
            ValidationTool.Load(new ContentRules(), content);



            _contentDal.Update(content);
        }
        public void Update(Writer writer)
        {
            ValidationTool.Load(new WriterRules(), writer);



            _writerDal.Update(writer);
        }
예제 #3
0
        public void Add(Content content)
        {
            ValidationTool.Load(new ContentRules(), content);



            _contentDal.Add(content);
        }
        public void Delete(Contact contact)
        {
            ValidationTool.Load(new ContactRules(), contact);



            _contacDal.Delete(contact);
        }
        public void Add(Writer writer)
        {
            ValidationTool.Load(new WriterRules(), writer);



            _writerDal.Add(writer);
        }
예제 #6
0
        public void Add(Category category)
        {
            ValidationTool.Load(new CategoryRules(), category);



            _categoryDal.Add(category);
        }
        public void Update(Heading heading)
        {
            ValidationTool.Load(new HeadingRules(), heading);



            _headingDal.Update(heading);
        }
        public void Add(Heading heading)
        {
            ValidationTool.Load(new HeadingRules(), heading);



            _headingDal.Add(heading);
        }
예제 #9
0
        public void Update(About about)
        {
            ValidationTool.Load(new AboutRules(), about);



            _aboutDal.Update(about);
        }
예제 #10
0
        public void Add(About about)
        {
            ValidationTool.Load(new AboutRules(), about);



            _aboutDal.Add(about);
        }