public void Init(IComments view, bool IsPostBack) { _view = view; bool IsLogin = _userSession.LoggedIn; if (!IsLogin) { //TODO:Hien thong bao chua dang nhap khong the gui comment } if (_webContext.CurrentUser != null) _view.ShowCommentBox(true); else _view.ShowCommentBox(false); }
public void Init(IComments view, bool IsPostBack) { _view = view; bool IsLogin = _userSession.LoggedIn; if (!IsLogin) { //TODO:Hien thong bao chua dang nhap khong the gui comment } if (_webContext.CurrentUser != null) { _view.ShowCommentBox(true); } else { _view.ShowCommentBox(false); } }