public int insertComment(CommentServiceModel comment) { CommentsRepository repo = new CommentsRepository(entities); Comment model = DefectUtil.unmapCommentEntityToModel(comment); return repo.InsertComment(model); }