public ActionResult AddArticle() { AddArticleViewModel a = new AddArticleViewModel(); BlogContext blogContext = DbLogic.GetDB(); a.CategoryList = DbLogic.GetCategories(blogContext); a.TagsList = DbLogic.GetTags(blogContext).ToList <Tag>(); return(View(a)); }