Ejemplo n.º 1
0
 public void ResetClientPassword(int _clientID, string password)
 {
     DLModel.Client _client = new DLModel.Client
     {
         ClientID = _clientID,
         Password = password,
         IsActive = true,
     };
     _clientRepository.Update((DLModel.Client) new DLModel.Client().InjectFrom(_client), hp => hp.Password, hp => hp.IsActive);
 }
Ejemplo n.º 2
0
 public int UpdateClient(DLModel.Client client)
 {
     return(_clientRepository.Update(client, (_c => _c.ClientID), (_c => _c.FirstName), (_c => _c.LastName), (_c => _c.EmailID), (_c => _c.Address), (_c => _c.Password), (_c => _c.ClientTypeID)
                                     , (_c => _c.Address2), (_c => _c.City), (_c => _c.StateID), (_c => _c.Zip), (_c => _c.Phone), (_c => _c.IsActive), (_c => _c.IsApproved), (_c => _c.IsEmailSent)));
 }
Ejemplo n.º 3
0
 public int AddClient(DLModel.Client client)
 {
     return(_clientRepository.Add(client).ClientID);
 }