コード例 #1
0
 public int UpdateNewsPhoto(DLModel.NewsPhoto newsPhoto)
 {
     return(_newsPhotoRepository.Update((DLModel.NewsPhoto) new DLModel.NewsPhoto().InjectFrom(newsPhoto)));
 }
コード例 #2
0
 public int AddNewsPhoto(DLModel.NewsPhoto newsPhoto)
 {
     return(_newsPhotoRepository.Add((DLModel.NewsPhoto) new DLModel.NewsPhoto().InjectFrom(newsPhoto)).NewsPhotoID);
 }