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