private void UpdateCustomer_Click(object sender, EventArgs e)
 {
     var ds = new PropertiesDataService();
     var customer = ds.GetPropertyByUniqueId(GetTenantId(), new Guid(UniqueId.Text));
     if (customer != null)
     {
         customer.Address = customer.Address + "- ע";
         ds.UpdateProperty(GetTenantId(), customer);
         ReloadProperties();
     }
     
 }
 private void AddCustomer_Click(object sender, EventArgs e)
 {
     var customers = PropertiesGrid.DataSource as Customer[];
     var index = 1;
     if (customers != null)
     {
         index = customers.Length + 1;
     }
     var property = new Property
                         {
                             Username ="******",
                             Address = "כתובת ללקוח " + index,
                             City = "עיר ל" + index,
                             UniqueId = Guid.NewGuid(),
                             //...
                         };
     var ds = new PropertiesDataService();
     ds.AddProperty(GetTenantId(), property);
     ReloadProperties();
 }
 private void ReloadProperties()
 {
     var ds = new PropertiesDataService();
     PropertiesGrid.DataSource = ds.GetProperties(GetTenantId(), null);
 }