public Person GetOneByCPF(string cpf) { return(_context.Person.Where(PersonSpecs.GetOneByCPF(cpf)).FirstOrDefault()); }
public Person GetOneByPerson(Guid idPerson) { return(_context.Person.Where(PersonSpecs.GetOne(idPerson)).FirstOrDefault()); }
public Person GetOneByCPF(string cpf) { return(_context.Person.Where(PersonSpecs.GetOneByCPF(cpf)).FirstOrDefault()); }
public Person GetOneByPerson(Guid idPerson) { return(_context.Person.Where(PersonSpecs.GetOne(idPerson)).FirstOrDefault()); }