public ActionResult Create(Post post) { if (ModelState.IsValid) { _repo.Add(post); return RedirectToAction("Index"); } else { return View(); } }
public DeletePostWindow(Post p ) { InitializeComponent(); post = p; }
public void UpdatePost(Post post) { throw new NotImplementedException(); }
public List<UserFeedback> GetUserFeedback(Post post) { throw new NotImplementedException(); }
public void Delete(Post post) { throw new NotImplementedException(); }
public AddCommentWindow(Post p ) { InitializeComponent(); post = p; }