public void CreateComment(CommentDto commentDto) { var uow = new UnitOfWork(_db); var commentRepo = uow.GetRepository <ICommentRepository>(); commentRepo.Create(commentDto.FromCommentDto()); uow.Save(); }