Exemple #1
0
        public async Task <IActionResult> CommentCurrentMaterial(MaterialCommentInputModel comment)
        {
            await service.CommentMaterial(comment);

            return(Redirect("/Material/MaterialDetails/" + comment.MaterialId.ToString()));
        }