C# Class Naif.Blog.Controllers.MetaWeblogController

Inheritance: BaseController
Afficher le fichier Open project: cnurse/Naif.Blog

Méthodes publiques

Méthode 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 méthode

public DeletePost ( string key, string postid, string username, string password, bool publish ) : IActionResult
key string
postid string
username string
password string
publish bool
Résultat IActionResult

EditPost() public méthode

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
Résultat IActionResult

GetCategories() public méthode

public GetCategories ( string blogid, string username, string password ) : IActionResult
blogid string
username string
password string
Résultat IActionResult

GetPost() public méthode

public GetPost ( string postid, string username, string password ) : IActionResult
postid string
username string
password string
Résultat IActionResult

GetRecentPosts() public méthode

public GetRecentPosts ( string blogid, string username, string password, int numberOfPosts ) : IActionResult
blogid string
username string
password string
numberOfPosts int
Résultat IActionResult

GetUsersBlogs() public méthode

public GetUsersBlogs ( string key, string username, string password ) : IActionResult
key string
username string
password string
Résultat IActionResult

MetaWeblogController() public méthode

public MetaWeblogController ( IBlogRepository blogRepository, IApplicationContext appContext ) : Microsoft.AspNetCore.Mvc
blogRepository IBlogRepository
appContext IApplicationContext
Résultat Microsoft.AspNetCore.Mvc

NewMediaObject() public méthode

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

NewPost() public méthode

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
Résultat IActionResult