public List<Note> GetCommonEvents(Person who) { return GetCommonEvents(who.NoteId); }
public int InsertOrUpdatePerson(Person person) { return database.Table<Person> ().Where (x => x.NoteId == person.NoteId).Count () > 0 ? database.Update (person) : database.Insert (person); }