public ActionResult Create(Article article, HttpPostedFileBase ArticleImage) { ModelState.Remove("CreatedOn"); ModelState.Remove("ModifiedOn"); ModelState.Remove("ModifierUser"); if (ModelState.IsValid) { UploadManager.ArticleImageInsert(article, ArticleImage); article.Owner = CurrentSession.User; article_mngr.Insert(article); return(RedirectToAction("Index")); } ViewBag.CategoryId = new SelectList(CacheHelper.GetCategoriesFromCache(), "Id", "Title", article.CategoryId); return(View(article)); }