Пример #1
0
 public ActionResult AddVideoToPost(string postid, string slug, string videoUrl)
 {
     CreatePostViewModel(slug);
     _blogRepository.AddVideoToPost(postid, videoUrl);
     return(RedirectToAction("EditPost", new { slug = slug }));
 }