public List <Blog> getBlog() { BlogDL B = new BlogDL(); List <Blog> k = B.getBlog(); return(k); }
public List <Blog> User_Blog(string writer) { BlogDL B = new BlogDL(); List <Blog> k = B.User_Blog(writer); return(k); }
public List <Blog> UserInterestBlog(string user) { BlogDL B = new BlogDL(); List <Blog> s = B.UserInterestBlog(user); return(s); }
public Blog ReadBlog(string name) { BlogDL B = new BlogDL(); Blog bb = B.ReadBlog(name); return(bb); }
public bool EditBlog(string titl, string write, string req) { BlogDL B = new BlogDL(); bool s = B.EditBlog(titl, write, req); return(s); }
//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); }
public void Deleteblog(Int32 index) { BlogDL B = new BlogDL(); B.Deleteblog(index); }
public void EditBlog(string titl, string write, string req) { BlogDL B = new BlogDL(); B.EditBlog(titl, write, req); }