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