private void RemoveExecute() { SupplyRepository.RemoveById((View.DataSupplies.SelectedItem as Supply).Id); SupplyRepository.SaveChanges(); Update(); }