Beispiel #1
0
 public void Delete(int id, string fName, string lName, string phoneNumber, string telNumber1, string telNumber2, string homeAddress)
 {
     Person = new DomainModels.DTO.EF.Person()
     {
         Id          = id,
         FName       = fName,
         LName       = lName,
         PhoneNumber = phoneNumber,
         TelNumber1  = telNumber1,
         TelNumber2  = telNumber2,
         HomeAddress = homeAddress,
     };
     Ref_PersonCrud.Remove(Person);
 }
Beispiel #2
0
 public void Delete(int id)
 {
     Ref_PersonCrud.Remove(id);
 }