Beispiel #1
0
 public ActionResult Create(CreateIdeaViewDto idea)
 {
     if (!ModelState.IsValid)
     {
         return(View(idea));
     }
     _ideaService.AddCreatedPost(idea);
     return(RedirectToAction(DefaultActions.Index));
 }