public Stakeholder Edit(Stakeholder stakeholder) { db.Entry(stakeholder).State = EntityState.Modified; db.SaveChanges(); return(stakeholder); }
public void Remove(Stakeholder stakeholder) { db.Stakeholders.Remove(stakeholder); db.SaveChanges(); }
public Stakeholder Save(Stakeholder stakeholder) { db.Stakeholders.Add(stakeholder); db.SaveChanges(); return(stakeholder); }