Ejemplo n.º 1
0
        public KSociety.Com.App.Dto.Res.Remove.Common.TagGroup Execute(TagGroup request)
        {
            var commonTagGroup = _tagGroupRepository.Find(request.Id); //.GetAllTagGroup().SingleOrDefault(tag => tag.Id == request.Id);

            _tagGroupRepository.Delete(commonTagGroup);

            return(new KSociety.Com.App.Dto.Res.Remove.Common.TagGroup(_unitOfWork.Commit() > 0));
        }