public ClientForm(Client clientToShow)
 {
     _client = clientToShow;
     InitializeComponent();
 }
Esempio n. 2
0
 public void Edit(Client p)
 {
     utOfWork.ClientRepository.Update(p);
     utOfWork.Commit();
 }
Esempio n. 3
0
 protected bool Equals(Client other)
 {
     return _telephones.SequenceEqual(other._telephones) && _comments.SequenceEqual(other._comments) && ClientLocation.Equals(other.ClientLocation) && Person.Equals(other.Person);
 }
Esempio n. 4
0
 public void AddNew(Client a)
 {
     utOfWork.ClientRepository.Add(a);
     utOfWork.Commit();
 }