Example #1
0
 public NewsFullDTO Update(int id, NewsFullDTO dto)
 {
     ValidateDTO(dto);
     return(_newsLogic.Update(id, dto));
 }
Example #2
0
 public NewsFullDTO Create(NewsFullDTO dto)
 {
     ValidateDTO(dto);
     return(_newsLogic.Create(dto, GetUserData().Id));
 }