/// <summary> /// 插入邮箱验证 /// </summary> /// <param name="model"></param> /// <returns></returns> public ResultModel AddValidEmail(YH_ValidEmailModel model) { var result = new ResultModel() { Data = _database.Db.YH_ValidEmail.Insert(model) }; return(result); }
/// <summary> /// 更改邮箱验证 /// </summary> /// <param name="model"></param> /// <returns></returns> public ResultModel UpdateValidEmail(YH_ValidEmailModel model) { var result = new ResultModel() { Data = _database.Db.YH_ValidEmail.Update(model) }; return(result); }