Example #1
0
 public ActionResult AddImageToPage(string pageid, string slug, string ImageUrl)
 {
     CreatePageViewModel(slug);
     _pageRepository.AddImageToPage(pageid, ImageUrl);
     return(RedirectToAction("EditPage", new { slug = slug }));
 }