private void DeleteContact() { _contactCatalog.Delete(ContactId); dbContext.SaveChanges(); }
public void Execute(object parameter) { _catalogBase.Delete((int)parameter); }