public void CreateCompany(Company company) { user.CompanyFounder = new CompanyFounder { User = user, Company = company}; if (!_companies.Contains(company)) { _companies.Add(company); } }
public void RemoveCompany(Company company) { if (_companies.Contains(company)) { _companies.Remove(company); } }