public ActionResult Save(SectionContentCallToAction content)
 {
     if (!ModelState.IsValid)
     {
         return(View("Form", content));
     }
     if (content.ActionType == ActionType.Create)
     {
         _sectionContentProviderService.Add(content);
     }
     else
     {
         _sectionContentProviderService.Update(content);
     }
     ViewBag.Close = true;
     return(View("Form", content));
 }
 public ActionResult Save(SectionContentCallToAction content)
 {
     if (!ModelState.IsValid)
     {
         return View("Form", content);
     }
     if (content.ActionType == ActionType.Create)
     {
         _sectionContentProviderService.Add(content);
     }
     else
     {
         _sectionContentProviderService.Update(content);
     }
     ViewBag.Close = true;
     return View("Form", content);
 }