C# Class DotNetClub.Web.Controllers.TopicController

Inheritance: ControllerBase
Show file Open project: scheshan/DotNetClub

Private Properties

Property Type Description
Delete Task
Edit Task
Edit Task
Index Task
New IActionResult
New Task

Public Methods

Method Description
TopicController ( CategoryService categoryService, TopicService topicService, CommentService commentService, TopicCollectService topicCollectService ) : DotNetClub.Core.Model.Topic

Private Methods

Method Description
Delete ( long id ) : Task
Edit ( int id ) : Task
Edit ( int id, SaveTopicModel model ) : Task
Index ( long id ) : Task
New ( ) : IActionResult
New ( SaveTopicModel model ) : Task

Method Details

TopicController() public method

public TopicController ( CategoryService categoryService, TopicService topicService, CommentService commentService, TopicCollectService topicCollectService ) : DotNetClub.Core.Model.Topic
categoryService DotNetClub.Core.Service.CategoryService
topicService DotNetClub.Core.Service.TopicService
commentService DotNetClub.Core.Service.CommentService
topicCollectService DotNetClub.Core.Service.TopicCollectService
return DotNetClub.Core.Model.Topic