public void Delete(Artist artist) { _artistDao.Delete(artist); }
public Artist Save(Artist artist) { var artistRepo = Mapper.Map<ArtistRepo>(artist); NH.Run(s => s.SaveOrUpdate(artistRepo)); return Mapper.Map<Artist>(artistRepo); }
public Artist Save(Artist artist) { return _artistDao.Save(artist); }
public void Delete(Artist artist) { NH.Run(s => s.Delete(Mapper.Map<ArtistRepo>(artist))); }