public int UpdateNewsSection(DLModel.NewsSection newsSection) { return(_newsSectionRepository.Update((DLModel.NewsSection) new DLModel.NewsSection().InjectFrom(newsSection))); }
public int AddNewsSection(DLModel.NewsSection newsSection) { return(_newsSectionRepository.Add((DLModel.NewsSection) new DLModel.NewsSection().InjectFrom(newsSection)).NewsSectionID); }