public static WebHooksTokenItem GetWebHooksTokenItem(LoginUser loginUser, int id) { WebHooksToken webHooksToken = new WebHooksToken(loginUser); webHooksToken.LoadById(id); if (webHooksToken.IsEmpty) { return(null); } else { return(webHooksToken[0]); } }
public WebHooksTokenItem(DataRow row, WebHooksToken webHooksToken) : base(row, webHooksToken) { _webHooksToken = webHooksToken; }