public ActionResult AddTopics([FromBody] AddRemoveTopicsModel model)
        {
            int counter = 0;

            foreach (int eid in model.TopicIds)
            {
                var item = new SekaniRootTopic()
                {
                    SekaniRootId = model.SekaniRootId,
                    TopicId      = eid,
                    UpdateTime   = DateTime.Now
                };
                this._unitOfWork.SekaniRootsTopics.Add(item);
                try
                {
                    this._unitOfWork.Complete();
                    counter++;
                }
                catch (DbUpdateException x)
                {
                    // ignore
                }
            }
            return(Ok(counter));
        }
        public ActionResult RemoveTopics([FromBody] AddRemoveTopicsModel model)
        {
            var r = this._unitOfWork.SekaniRootsTopics.Find(i => i.SekaniRootId == model.SekaniRootId &&
                                                            model.TopicIds.Contains(i.TopicId)).ToList();

            this._unitOfWork.SekaniRootsTopics.RemoveRange(r);
            this._unitOfWork.Complete();
            return(Ok(r.Count()));
        }