Пример #1
0
        public void SetViewBagPost(int?selectedID = null)
        {
            var dao = new PictureDAO();

            ViewBag.PostID = new SelectList(dao.GetListPost(), "PostID", "Title", selectedID);
        }