public Person GetPerson(Guid ID) { using (var db = new StorageContext()) return(db.Persons.Find(ID)); }
public List <Person> GetPersons() { using (var db = new StorageContext()) return(db.Persons.ToList()); }
public Person GetPerson(Guid ID) { using (var db = new StorageContext()) return(db.Persons.Find(ID)); }
public List <Person> GetPersons() { using (var db = new StorageContext()) return(db.Persons.ToList()); }