public ViewCount Add(ViewCount viewCount) { try { return ViewCountMapper.ToDto(_viewCountRepository.Add(ViewCountMapper.ToEntity(viewCount))); } catch (Exception ex) { throw new BlogException(ex.Message, ex.InnerException); } } }