class Blog::Controllers::ArticleController

Defined in:

controllers/article.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(entity_manager : Blog::Services::EntityManager) #

[View source]

Instance Method Detail


[View source]
def articles : Array(Blog::Entities::Article) #

[View source]
def create_article(article : Blog::Entities::Article) : Blog::Entities::Article #

[View source]
def delete_article(article : Blog::Entities::Article) : Nil #

[View source]
def update_article(article_entity : Blog::Entities::Article, article : Blog::Entities::Article) : Blog::Entities::Article #

[View source]