public void ModifyCliente(CnClient modify) { CD_PROYECTO.CdClient mdf = new CD_PROYECTO.CdClient(); mdf.Id = modify.Id; mdf.Name = modify.Name; mdf.Lastname = modify.Lastname; mdf.Email = modify.Email; mdf.Phone = modify.Phone; mdf.ClientState = modify.ClientState; mdf.ClientType = modify.clientType; mdf.ModifyCliente(mdf); }
public void GuardarCliente(CnClient client) { CD_PROYECTO.CdClient cl = new CD_PROYECTO.CdClient(); cl.Id = client.Id; cl.Name = client.Name; cl.Lastname = client.Lastname; cl.Email = client.Email; cl.Phone = client.Phone; cl.ClientState = client.ClientState; cl.ClientType = client.clientType; cl.GuardarCliente(cl); }