using System; using System.Collections.Generic; using InternshipSystem.Core.Commands; namespace InternshipSystem.Core { public class Company { public long Id { get; set; } public string Nip { get; set; } public string Name { get; set; } public List Branches { get; set; } public static Company CreateCompany(string nip, string name) => new Company { Nip = nip, Name = name }; public void AddBranchAddress(BranchAddress branch) { } public void AddBranchOffice(BranchOffice createBranch) { Branches.Add(createBranch); } public static Company CreateCompany(UpdateCompany updateCompany) { throw new NotImplementedException(); } } }