Ejemplo n.º 1
0
        public NotificationsDTOs InsertNotification(NotificationsDTOs ntd)
        {
            Notification nttd = NotificationRequestFormatter.ConvertRespondentInfoFromDTO(ntd);

            return(NotificationRequestFormatter.ConvertRespondentToDTO(_unitOfWork.NotificationRepository.Create(nttd)));
        }
Ejemplo n.º 2
0
        public int UpdateNotification(NotificationsDTOs ntd)
        {
            Notification ntf = NotificationRequestFormatter.ConvertRespondentInfoFromDTO(ntd);

            return(_unitOfWork.NotificationRepository.Update(ntf));
        }