public ContactInformation GetDummyContact( Guid id) { ContactInformation _contactInformation = new ContactInformation(); _contactInformation.UserId = id; _contactInformation.Email = "*****@*****.**"; _contactInformation.PhoneNumber = "023013812"; _contactInformation.TelePhonNumber = "21312983"; _contactInformation.BloodGroup = "AB"; _contactInformation.Address = "dsffsdf"; return _contactInformation; }
public void CreatContact(ContactInformation contactInformation) { db.ContactInformations.Add(contactInformation); db.SaveChanges(); }