Example #1
0
 public Post EditPost(Post post)
 {
     post.ChangeState = ChangeStates.Modified;
     post.DateModified = DateTime.Now;
     _postRepository.Edit(post);
     Save();
     return post;
 }
Example #2
0
 public ActionResult CreatePost(Post post)
 {
     return View();
 }
Example #3
0
 public Post CreatePost(Post post)
 {
     throw new NotImplementedException();
 }