Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public Client Add(Client client) { Dictionary <string, string> filters = new Dictionary <string, string>(); filters.Add("Email", client.Email); List <Client> clients = dac.ReadyByFilters(filters); if (clients != null && clients.Count > 0) { //Existe un doctor ya con esos datos return(client); } Client result = default(Client); result = dac.Create(client); return(result); }