コード例 #1
0
 public void Delete(Artist artist)
 {
     _artistDao.Delete(artist);
 }
コード例 #2
0
 public Artist Save(Artist artist)
 {
     var artistRepo = Mapper.Map<ArtistRepo>(artist);
     NH.Run(s => s.SaveOrUpdate(artistRepo));
     return Mapper.Map<Artist>(artistRepo);
 }
コード例 #3
0
 public Artist Save(Artist artist)
 {
     return _artistDao.Save(artist);
 }
コード例 #4
0
 public void Delete(Artist artist)
 {
     NH.Run(s => s.Delete(Mapper.Map<ArtistRepo>(artist)));
 }