public ActionResult Save(ArtistInfo artistInfo)
        {
            _siteMetaData.ArtistInfo = artistInfo;
            _metadataRepostory.Save(_siteMetaData);

            return(RedirectToAction("About", "Home"));
        }
Example #2
0
        public ActionResult Save(SiteMetaData siteMetadata)
        {
            _siteMetadata.FrontPageImage = siteMetadata.FrontPageImage;
            _metadataRepository.Save(_siteMetadata);

            return(RedirectToAction("Index", "Home"));
        }
 public ActionResult Add(WebLink link)
 {
     _siteMetaData.Links.Add(link);
     _metadataRepostory.Save(_siteMetaData);
     return(RedirectToAction("Manage", "Links"));
 }