Delete() public method

public Delete ( string entityName, System.Guid id ) : void
entityName string
id System.Guid
return void
 public void Delete(Person person)
 {
     if (People.Contains(person))
     {
         People.Remove(person);
         FakeService.Delete(person);
     }
 }
示例#2
0
 public void Delete(Item item)
 {
     if (Item.Contains(item))
     {
         Item.Remove(item);
         FakeService.Delete(item);
     }
 }