コード例 #1
0
        public ActionResult AddNewContent(int SubjectId, string document)
        {
            Content content = new Content();

            content.SubjectID      = SubjectId;
            content.Document       = document;
            content.DateOfCreation = DateTime.Now;

            _contentBLL.Add(content);


            return(View("Index"));
        }