public ActionResult Edit(Idea idea) { return View(); }
/// <summary> /// Adds a new idea to the database /// </summary> /// <param name="idea"></param> /// <returns></returns> public Idea Create(Idea idea) { return _genericRepository.Create(idea); }
public ActionResult Create(Idea idea) { _ideaService.Create(idea); return RedirectToAction("Index", "Idea"); }