C# Class Naif.Blog.Controllers.MetaWeblogController

Inheritance: BaseController
ファイルを表示 Open project: cnurse/Naif.Blog

Public Methods

Method Description
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

Method Details

DeletePost() public method

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

EditPost() public method

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
return IActionResult

GetCategories() public method

public GetCategories ( string blogid, string username, string password ) : IActionResult
blogid string
username string
password string
return IActionResult

GetPost() public method

public GetPost ( string postid, string username, string password ) : IActionResult
postid string
username string
password string
return IActionResult

GetRecentPosts() public method

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

GetUsersBlogs() public method

public GetUsersBlogs ( string key, string username, string password ) : IActionResult
key string
username string
password string
return IActionResult

MetaWeblogController() public method

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

NewMediaObject() public method

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

NewPost() public method

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
return IActionResult