protected void loadCommonData() { Category category = new Category(); Tag tag = new Tag(); ModelList<Category> categories = category.getBy<Category>(); ModelList<Tag> tags = tag.getBy<Tag>(); ViewData["categories"] = categories; ViewData["tags"] = tags; }