public Address GetOneByPerson(Guid idPerson) { return(_context.Address.Where(AddressSpecs.GetOneByPerson(idPerson)).FirstOrDefault()); }
public List <Address> GetAllByPerson(Guid idPerson) { return(_context.Address.Where(AddressSpecs.GetOneByPerson(idPerson)).ToList()); }
public Address GetOne(Guid id) { return(_context.Address.Where(AddressSpecs.GetOne(id)).FirstOrDefault()); }