Example #1
0
 /// <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);
     }
 }
Example #2
0
 /// <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);
     }
 }