예제 #1
0
 public int UpdateNewsSection(DLModel.NewsSection newsSection)
 {
     return(_newsSectionRepository.Update((DLModel.NewsSection) new DLModel.NewsSection().InjectFrom(newsSection)));
 }
예제 #2
0
 public int AddNewsSection(DLModel.NewsSection newsSection)
 {
     return(_newsSectionRepository.Add((DLModel.NewsSection) new DLModel.NewsSection().InjectFrom(newsSection)).NewsSectionID);
 }