public Client StoreClient(Client client) { if (client != null) { if (client.Id == 0) { client.CreatedOn = DateTime.Now; _clientDao.Create(client); } else { client.LastUpdatedOn = DateTime.Now; _clientDao.Update(client); } } return(client); }
public Client Update(Client client) { return(_clientDao.Update(client)); }
public string Update(int subnumber, int?idcoach) { return(_clientdao.Update(subnumber, idcoach)); }
public Client Update(long id, string name, string lastName, string phoneNumber) { return(_clientDao.Update(id, name, lastName, phoneNumber)); }