public TagsModel GetByName(string tid)
        {
            var result = _unitOfWork.TagsRepository.Get(a => a.tagname == tid);

            if (result != null)
            {
                var resultModel = GsMapperConfig.TagsModelEntityMapper(result);
                return(resultModel);
            }
            return(null);
        }
        public TagsModel GetById(long tid)
        {
            var result = _unitOfWork.TagsRepository.GetByID(tid);

            if (result != null)
            {
                var resultModel = GsMapperConfig.TagsModelEntityMapper(result);
                return(resultModel);
            }
            return(null);
        }