C# 클래스 Naif.Blog.Controllers.MetaWeblogController

상속: BaseController
파일 보기 프로젝트 열기: cnurse/Naif.Blog

공개 메소드들

메소드 설명
DeletePost ( string key, string postid, string username, string password, bool publish ) : IActionResult
EditPost ( string postid, string username, string password, Post post, bool publish ) : IActionResult
GetCategories ( string blogid, string username, string password ) : IActionResult
GetPost ( string postid, string username, string password ) : IActionResult
GetRecentPosts ( string blogid, string username, string password, int numberOfPosts ) : IActionResult
GetUsersBlogs ( string key, string username, string password ) : IActionResult
MetaWeblogController ( IBlogRepository blogRepository, IApplicationContext appContext ) : Microsoft.AspNetCore.Mvc
NewMediaObject ( string blogid, string username, string password, MediaObject media ) : IActionResult
NewPost ( string blogid, string username, string password, Post post, bool publish ) : IActionResult

메소드 상세

DeletePost() 공개 메소드

public DeletePost ( string key, string postid, string username, string password, bool publish ) : IActionResult
key string
postid string
username string
password string
publish bool
리턴 IActionResult

EditPost() 공개 메소드

public EditPost ( string postid, string username, string password, Post post, bool publish ) : IActionResult
postid string
username string
password string
post Naif.Blog.Models.Post
publish bool
리턴 IActionResult

GetCategories() 공개 메소드

public GetCategories ( string blogid, string username, string password ) : IActionResult
blogid string
username string
password string
리턴 IActionResult

GetPost() 공개 메소드

public GetPost ( string postid, string username, string password ) : IActionResult
postid string
username string
password string
리턴 IActionResult

GetRecentPosts() 공개 메소드

public GetRecentPosts ( string blogid, string username, string password, int numberOfPosts ) : IActionResult
blogid string
username string
password string
numberOfPosts int
리턴 IActionResult

GetUsersBlogs() 공개 메소드

public GetUsersBlogs ( string key, string username, string password ) : IActionResult
key string
username string
password string
리턴 IActionResult

MetaWeblogController() 공개 메소드

public MetaWeblogController ( IBlogRepository blogRepository, IApplicationContext appContext ) : Microsoft.AspNetCore.Mvc
blogRepository IBlogRepository
appContext IApplicationContext
리턴 Microsoft.AspNetCore.Mvc

NewMediaObject() 공개 메소드

public NewMediaObject ( string blogid, string username, string password, MediaObject media ) : IActionResult
blogid string
username string
password string
media Naif.Blog.Models.MediaObject
리턴 IActionResult

NewPost() 공개 메소드

public NewPost ( string blogid, string username, string password, Post post, bool publish ) : IActionResult
blogid string
username string
password string
post Naif.Blog.Models.Post
publish bool
리턴 IActionResult