/// <summary> /// 通过id获取重置记录信息 /// </summary> /// <param name="id"></param> /// <returns></returns> public ResetPasswordLog GetResetPasswordLogByID(string id) { using (EFResetPasswordLogRepository _reset = new EFResetPasswordLogRepository()) { ResetPasswordLog resetPasswordLog = _reset.GetResetPasswordLogByID(id); return(resetPasswordLog); } }
/// <summary> /// 添加重置密码记录信息 /// </summary> /// <param name="resetLog"></param> /// <returns></returns> public bool AddResetPasswordLog(ResetPasswordLog resetLog) { using (EFResetPasswordLogRepository _reset = new EFResetPasswordLogRepository()) { bool result = _reset.AddResetPasswordLog(resetLog); return(result); } }