public ActionResult Create(BlogPostViewModel model) { if (ModelState.IsValid) { blogPostService.AddOrUpdate(model); var action = RedirectToAction("Index"); return(action.WithSuccess(string.Format("The blog post \"{0}\" has been added".TA(), model.Title))); } ViewBag.BlogId = new SelectList(blogService.FindAll(), "Id", "Title"); return(View(model)); }