public void updateInternshipAnnouncement(InternshipAnnouncement internshipAnnouncement)
 {
     context.Entry(internshipAnnouncement).State = EntityState.Modified;
     context.SaveChanges();
 }
Exemplo n.º 2
0
 public void updateAddress(Address address)
 {
     context.Entry(address).State = EntityState.Modified;
     context.SaveChanges();
 }
Exemplo n.º 3
0
 public void updateCategory(Category category)
 {
     context.Entry(category).State = EntityState.Modified;
     context.SaveChanges();
 }
Exemplo n.º 4
0
 public void updateCity(City city)
 {
     context.Entry(city).State = EntityState.Modified;
     context.SaveChanges();
 }