示例#1
0
        public List <Blog> getBlog()
        {
            BlogDL      B = new BlogDL();
            List <Blog> k = B.getBlog();

            return(k);
        }
示例#2
0
        public List <Blog> User_Blog(string writer)
        {
            BlogDL      B = new BlogDL();
            List <Blog> k = B.User_Blog(writer);

            return(k);
        }
示例#3
0
        public List <Blog> UserInterestBlog(string user)
        {
            BlogDL      B = new BlogDL();
            List <Blog> s = B.UserInterestBlog(user);

            return(s);
        }
示例#4
0
        public Blog ReadBlog(string name)
        {
            BlogDL B  = new BlogDL();
            Blog   bb = B.ReadBlog(name);

            return(bb);
        }
示例#5
0
        public bool EditBlog(string titl, string write, string req)
        {
            BlogDL B = new BlogDL();
            bool   s = B.EditBlog(titl, write, req);

            return(s);
        }
示例#6
0
        //BlogDL
        public bool UploadBlog(string name, string type, string writing, string writer)
        {
            BlogDL B = new BlogDL();
            bool   l = B.UploadBlog(name, type, writing, writer);

            return(l);
        }
示例#7
0
        public void Deleteblog(Int32 index)
        {
            BlogDL B = new BlogDL();

            B.Deleteblog(index);
        }
示例#8
0
        public void EditBlog(string titl, string write, string req)
        {
            BlogDL B = new BlogDL();

            B.EditBlog(titl, write, req);
        }