public void UpdateConfigCompanyProject(ConfigCompanyProject ConfigCompanyProject) { ConfigCompanyProject ConfigCompanyProjectToUpdate = ConfigCompanyProjects.Where(c => c.CompanyID.Equals(ConfigCompanyProject.CompanyID)).FirstOrDefault(); ConfigCompanyProjectToUpdate = ConfigCompanyProject; }
public void DeleteConfigCompanyProject(ConfigCompanyProject ConfigCompanyProject) { ConfigCompanyProjects.Remove(ConfigCompanyProject); }