public IResult Delete(Subscriber subscriber)
        {
            var subs = _subscriberDal.Get(subscriber1 =>
                                          subscriber1.UserId == subscriber.UserId && subscriber1.ChannelId == subscriber.ChannelId);

            if (subs != null)
            {
                _subscriberDal.Delete(subs);
            }

            return(new SuccessResult());
        }
        public IResult Delete(int id)
        {
            IResult result = BusinessRule.Run
                             (
                CheckIfSubscriberAlreadyDeleted(id)
                             );

            if (result != null)
            {
                return(result);
            }

            var deleteToSubscriber = _subscriberDal.Get(s => s.Id == id);

            _subscriberDal.Delete(deleteToSubscriber);

            return(new SuccessResult());
        }
 public bool Delete(string id)
 {
     return(subscriberDal.Delete(id));
 }