Ejemplo n.º 1
0
        public async Task <IActionResult> Edit(ForumTopicModel model)
        {
            await _forumService.EditForum(model.Forum.Id, model.Forum.Name, model.Forum.Description);

            return(RedirectToAction("Topic", "Forum", new { id = model.Forum.Id }));
        }