public void Add(ChannelEventData data)
        {
            ChannelEvent item = Mapper.Map <ChannelEvent>(data);

            item.CreatedDate = DateTime.UtcNow;

            _unitOfWork.ChannelEvent.Add(item);
            _unitOfWork.Complete();
        }
        public void Update(ChannelEventData channelEvent)
        {
            var item = _unitOfWork.ChannelEvent.GetById(channelEvent.ChannelEventId);

            item.Title     = channelEvent.Title;
            item.EmbedUrl  = channelEvent.EmbedUrl;
            item.DirectUrl = channelEvent.DirectUrl;

            _unitOfWork.Complete();
        }