public List<Gallery> AllGalleries() { List<Gallery> newGalleries = new List<Gallery>(); List<IGallery> galleries= _gm.GetGalleries(); foreach (var gallery in galleries) { var gal = new Gallery(gallery); newGalleries.Add(gal); } return newGalleries; }
public void UpdateGallery(Gallery gal) { _gm.UpdateGallery(gal); }
public void RemoveGallery(Gallery gal) { _gm.RemoveGallery(gal); }
public void AddGallery(Gallery gal) { _gm.AddGallery(gal); }