public void Save(Contact contact, List<Friend> friends){ //friends = friends.Where(friend => friend.ContactId1 == friend.ContactId2 && friend.ContactId2 == contact.Id).ToList(); DAL.Save(contact, friends); }
public int Create(Contact contact) { return DAL.Create(contact); }
public void Edit(Contact contact) { DAL.Edit(contact); }
public void Delete(Contact contact) { DAL.Delete(contact); }