public void UpdateClient(ClientPoco client) { ClientPoco c = _db.Clients.Single(cu => cu.Id == client.Id); c.FirstName = client.FirstName; c.LastName = client.LastName; c.DoB = client.DoB; c.SocialIns = client.SocialIns; _db.SaveChanges(); }
public void UpdateClient(ClientPoco client) { _repository.UpdateClient (client); }
public void Create(ClientPoco client) { _repository.Create(client); }
public void Create(ClientPoco client) { _db.Clients.Add(client); _db.SaveChanges(); }
public void UpdateClient(ClientPoco client) { throw new NotImplementedException(); }
public void Create(ClientPoco client) { throw new NotImplementedException(); }