Esempio n. 1
0
        public void dud()
        {
            ViewPerson person = PersonHelper.Get(Guid.Empty);
            IEnumerable <ViewPerson> people           = PersonHelper.All();
            IEnumerable <ViewPerson> peopleNamedFrank = PersonHelper.GetByName("Frank");

            PersonHelper.Put(new ViewPerson());
            PersonHelper.Put(person);
            PersonHelper.Delete(person);
            PersonHelper.Delete(person.Id);
            PersonHelper.Delete(peopleNamedFrank);
        }
Esempio n. 2
0
 public IEnumerable <ViewPerson> ListByName(string Name)
 {
     return(PersonHelper.GetByName(Name));
 }