public static void UpdateGallery(Business.Gallery gallery) { if (gallery == null) { throw new ArgumentNullException("gallery"); } gallery.Save(); }
/// <summary> /// Permanently delete the profile records associated with the specified <paramref name="gallery" />. /// </summary> /// <param name="gallery">The gallery.</param> /// <exception cref="ArgumentNullException">Thrown when <paramref name="gallery" /> is null.</exception> public static void DeleteProfileForGallery(Business.Gallery gallery) { if (gallery == null) { throw new ArgumentNullException("gallery"); } Factory.GetDataProvider().Profile_DeleteProfilesForGallery(gallery.GalleryId); }
public static void DeleteGallery(Business.Gallery gallery) { if (gallery == null) { throw new ArgumentNullException("gallery"); } gallery.Delete(); ProfileController.DeleteProfileForGallery(gallery); }
public static void UpdateGallery(Business.Gallery gallery) { gallery.Save(); }
public static void DeleteGallery(Business.Gallery gallery) { gallery.Delete(); ProfileController.DeleteProfileForGallery(gallery); }
public static void AddGallery(Business.Gallery gallery) { gallery.Save(); }
/// <summary> /// Permanently delete the profile records associated with the specified <paramref name="gallery" />. /// </summary> /// <param name="gallery">The gallery.</param> public static void DeleteProfileForGallery(Business.Gallery gallery) { Factory.GetDataProvider().Profile_DeleteProfilesForGallery(gallery.GalleryId); }