public void Edit(Model.Clinic clinic) { Model.Clinic clinic1 = Find(clinic.ClinicId); clinic1.Name = clinic.Name; clinic1.Location = clinic.Location; }
public void Add(Model.Clinic clinic) => context.Clinics.Add(clinic);
public void Edit(Model.Clinic clinic) { Model.Clinic clinic1 = Find(clinic.ClinicId); clinic1.Name = clinic.Name; clinic1.Location = clinic.Location; }
public void Add(Model.Clinic clinic) => context.Clinics.Add(clinic);