Beispiel #1
0
 //Post
 protected override DriverResult Editor(AdPart part, IUpdateModel updater, dynamic shapeHelper)
 {
     updater.TryUpdateModel(part, Prefix, null, null);
     if (part.Active)
     {
         _adsService.DesactivateAds(part.Id);
     }
     return(Editor(part, shapeHelper));
 }