public Guid Add(Client client) { client.AddNotification(!_clientBusiness.CPFValidate(client), "CPF inválido."); if (client.Valid) { _clientBusiness.Add(client); } return(client.Key); }
public Guid Add(Client client) { client.AddNotification(!_clientBusiness.CPFValidate(client), "CPF inválido."); if (client.Valid) { _clientBusiness.Add(client); } return(client.Key); }