Esempio n. 1
0
 public Address GetOneByPerson(Guid idPerson)
 {
     return(_context.Address.Where(AddressSpecs.GetOneByPerson(idPerson)).FirstOrDefault());
 }
Esempio n. 2
0
 public List <Address> GetAllByPerson(Guid idPerson)
 {
     return(_context.Address.Where(AddressSpecs.GetOneByPerson(idPerson)).ToList());
 }
Esempio n. 3
0
 public Address GetOne(Guid id)
 {
     return(_context.Address.Where(AddressSpecs.GetOne(id)).FirstOrDefault());
 }