public CommentDTO Get(Guid id) { var comment = _unitOfWork.Comment.GetById(id); CommentDTO commentDTO = new CommentDTO(); commentDTO.InjectFrom(comment); return(commentDTO); }
public CommentDTO Get(Guid Id) { var comment = _uow.Comment.GetById(Id); CommentDTO model = new CommentDTO(); model.InjectFrom(comment); return(model); }