Example #1
0
 public void UpdateProject(Project project)
 {
     context.Entry(project).State = EntityState.Modified;
 }
Example #2
0
 public void InsertProject(Project project)
 {
     context.Projects.Add(project);
 }