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