public void Edit(int id, string fName, string lName, string telNumber, string mobileNumber, string address, string email) { Person = new DomainModels.DTO.EF.Person5 { Id = id, FName = fName, LName = lName, TelNumber = telNumber, MobileNumber = mobileNumber, Addresss = address, Email = email }; Ref_PersonCrud.Update(Person); }
public void Edit(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.Update(Person); }
public void Edit(int id) { Ref_PersonCrud.Update(id); }