public IEnumerable<MedicalRecord> GetClientsMedicalRecords(Client c) { return ctx.MedicalRecords.Where(r => r.Client == c).ToList(); }
public void AddClient(Client c) { ctx.Clients.Add(c); ctx.SaveChanges(); }
public IEnumerable<MedicalRecord> GetClientsMedicalRecords(Client c) { return ctx.MedicalRecords.Where(r => r.Client == c).ToList(); }
public void AddClient(Client c) { ctx.Clients.Add(c); ctx.SaveChanges(); }