public ObservableClients getClients()
 {
     _clientList = new ObservableClients(_dataContext);
     return _clientList;
 }
        public void saveClient(DBA.Client clientTO)
        {
            _dataContext.Clients.InsertOnSubmit(clientTO);
            _dataContext.SubmitChanges();

            if (_clientList == null)
            {
                _clientList = new ObservableClients(_dataContext);
            }

            _clientList.Add(clientTO);
        }
 /// <summary>
 /// tekitatakse klientide kollektsioon
 /// </summary>
 /// <returns></returns>
 public ObservableClients getClients()
 {
     _clientList = new ObservableClients();
     return _clientList;
 }