Beispiel #1
0
 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();
 }
Beispiel #2
0
 public void UpdateClient(ClientPoco client)
 {
     _repository.UpdateClient (client);
 }
Beispiel #3
0
 public void Create(ClientPoco client)
 {
     _repository.Create(client);
 }
Beispiel #4
0
 public void Create(ClientPoco client)
 {
     _db.Clients.Add(client);
     _db.SaveChanges();
 }
Beispiel #5
0
 public void UpdateClient(ClientPoco client)
 {
     throw new NotImplementedException();
 }
Beispiel #6
0
 public void Create(ClientPoco client)
 {
     throw new NotImplementedException();
 }