public void AddFamilySocial(Common.FamilySocial fs) { DataLayer.PatientsHandler dap = new DataLayer.PatientsHandler(); fs.FamilySocialId = Guid.NewGuid(); this.AddFamilySocialToDatabase(fs); }
public void AddFamilySocial(Common.FamilySocial familySocial) { this.Entities.FamilySocials.Add(familySocial); this.Entities.SaveChanges(); }
private void AddFamilySocialToDatabase(Common.FamilySocial familySocial) { new DataLayer.PatientsHandler().AddFamilySocial(familySocial); }