public void InsertAccountRecoveryRequest(string email)
        {
            //validate email presence in Users table
            if (!_userRepository.EmailExists(email)) throw new ValidationException("Email does not exist.");

            //validate request - unique email
            if (_accountRecoveryRepository.IsUniqueEmail(email))
            {
                var newRequest = new AccountRecoveryRequest {Email = email};
                _accountRecoveryRepository.Save();
            }
            else throw new ValidationException("There is already an existing request for this email.");
        }
 public void Delete(AccountRecoveryRequest item)
 {
     throw new NotImplementedException();
 }
 public void Add(AccountRecoveryRequest item)
 {
     Context.AddToAccountRecoveryRequests(item);
 }