Example #1
0
 public void DeleteNotificationType(NotifiactionsType notificationType)
 {
     try
     {
         repository.Delete(notificationType);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
        public void UpdateNotificationType(NotifiactionsType notificationType)
        {
            var original = repository.GetById(n => n.TypeId == notificationType.TypeId);

            repository.Update(original, notificationType);
        }