private bool tryPost(ref Signature model, out string errMsg) { errMsg = ""; bool re = false; model.Creater = this.auth.UserId; model.CreatedDate = System.DateTime.Now; if (SignatureManager.AddSignature(ref model, out errMsg)) { re = true; } return(re); }