public ActionResult Add(AddFeedItemModel model) { var update = new FeedItem() { Message = model.Content }; _repository.Save(update); return(RedirectToAction("Index")); }
public ActionResult Add() { var model = new AddFeedItemModel(); return(View(model)); }