BgEngine.Controllers.PostController.Create C# (CSharp) Method

Create() private method

private Create ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult
        public ActionResult Create()
        {
            ViewBag.ImageId = new SelectList(ImageServices.FindAllEntities(null,null,null), "ImageId", "FileName");
            ViewBag.CategoryId = new SelectList(CategoryServices.FindAllEntities(null,null,null), "CategoryId", "Name");
            ViewBag.UserId = new SelectList(UserServices.FindAllEntities(null,null,null), "UserId", "Username", CodeFirstSecurity.CurrentUserId);
            ViewBag.Tags = TagServices.FindAllEntities(null, o => o.OrderBy(t => t.TagName), null).ToDictionary<Tag, int, string>(t => t.TagId, t => t.TagName);
            return View();
        }

Same methods

PostController::Create ( Post post, int selectedtags ) : System.Web.Mvc.ActionResult